Skip to content

Commit 4a5fbca

Browse files
committed
refactor: update description for --unit flag
1 parent 5330a3e commit 4a5fbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/backmeup/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func main() {
328328
parser.ExitOnHelp(true)
329329
printVersion := parser.Flag("", "version", &argparse.Options{Required: false, Help: "Print out version", Default: false})
330330
configPath := parser.String("c", "config", &argparse.Options{Required: true, Help: "Path to the config.yml file", Default: "config.yml"})
331-
unitNames := parser.StringList("u", "unit", &argparse.Options{Required: false, Help: "Name of a unit configured in the config file that should be backed up", Default: []string{}})
331+
unitNames := parser.StringList("u", "unit", &argparse.Options{Required: false, Help: "Limit the units, defined in the config file, that should be backed up", Default: []string{}})
332332
testPath := parser.String("t", "test-path", &argparse.Options{Required: false, Help: "A path to test against the exclude filters defined in the config", Default: ""})
333333
dryRun := parser.Flag("n", "dry-run", &argparse.Options{Required: false, Help: "Run the backup in dry-run mode without actually backing up files", Default: false})
334334
verbose := parser.Flag("v", "verbose", &argparse.Options{Required: false, Help: "Enable verbose logging", Default: false})

0 commit comments

Comments
 (0)