17840: Deduplicate flag-parsing code.
authorTom Clegg <tom@curii.com>
Thu, 11 Nov 2021 18:50:36 +0000 (13:50 -0500)
committerTom Clegg <tom@curii.com>
Thu, 11 Nov 2021 20:44:05 +0000 (15:44 -0500)
commit37d9f94b06ff367a3514b58ec6f0e4d4d0116030
treed10496c6ef59bace137ab4924652caa540f63f74
parent00900388c9704a4fe76a459934a2b9f73a3cec1a
17840: Deduplicate flag-parsing code.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
32 files changed:
cmd/arvados-client/container_gateway.go
lib/boot/cmd.go
lib/cloud/cloudtest/cmd.go
lib/cmd/parseflags.go [new file with mode: 0644]
lib/config/cmd.go
lib/config/cmd_test.go
lib/costanalyzer/cmd.go
lib/costanalyzer/costanalyzer.go
lib/costanalyzer/costanalyzer_test.go
lib/crunchrun/crunchrun.go
lib/deduplicationreport/report.go
lib/diagnostics/cmd.go
lib/install/deps.go
lib/install/init.go
lib/mount/command.go
lib/mount/command_test.go
lib/recovercollection/cmd.go
lib/service/cmd.go
services/arv-git-httpd/main.go
services/crunch-dispatch-local/crunch-dispatch-local.go
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
services/crunch-dispatch-slurm/usage.go
services/crunchstat/crunchstat.go
services/keep-balance/main.go
services/keep-web/main.go
services/keepproxy/keepproxy.go
services/keepstore/command.go
tools/keep-block-check/keep-block-check.go
tools/keep-block-check/keep-block-check_test.go
tools/keep-exercise/keep-exercise.go
tools/keep-rsync/keep-rsync.go
tools/sync-groups/sync-groups.go