Improve CLI help
This commit is contained in:
parent
26c8af598e
commit
eb1ec29992
14
cli/args.cpp
14
cli/args.cpp
|
@ -12,19 +12,19 @@ Args::Args()
|
|||
, restart("restart", '\0', "restarts Syncthing")
|
||||
, rescan("rescan", 'r', "rescans the specified directories")
|
||||
, rescanAll("rescan-all", '\0', "rescans all directories")
|
||||
, pause("pause", '\0', "pauses the specified devices")
|
||||
, resume("resume", '\0', "resumes the specified devices")
|
||||
, pause("pause", '\0', "pauses the specified directories and devices")
|
||||
, resume("resume", '\0', "resumes the specified directories and devices")
|
||||
, waitForIdle("wait-for-idle", 'w', "waits until the specified dirs/devs are idling")
|
||||
, pwd("pwd", 'p', "operates in the current working directory")
|
||||
, statusPwd("status", 's', "prints the status of the current working directory")
|
||||
, rescanPwd("rescan", 'r', "rescans the current working directory")
|
||||
, pausePwd("pause", 'p', "pauses the current working directory")
|
||||
, resumePwd("resume", '\0', "resumes the current working directory")
|
||||
, dir("dir", 'd', "specifies a directory", { "ID" })
|
||||
, dev("dev", '\0', "specifies a device", { "ID" })
|
||||
, allDirs("all-dirs", '\0', "apply operation for all directories")
|
||||
, allDevs("all-devs", '\0', "apply operation for all devices")
|
||||
, atLeast("at-least", 'a', "specifies for how many milliseconds Syncthing must idle (prevents exiting to early in case of flaky status)",
|
||||
, dir("dir", 'd', "specifies a directory by ID", { "ID" })
|
||||
, dev("dev", '\0', "specifies a device by ID or name", { "ID/name" })
|
||||
, allDirs("all-dirs", '\0', "applies the operation for all directories")
|
||||
, allDevs("all-devs", '\0', "applies the operation for all devices")
|
||||
, atLeast("at-least", 'a', "specifies for how many milliseconds Syncthing must idle (prevents exiting too early in case of flaky status)",
|
||||
{ "number" })
|
||||
, timeout("timeout", 't', "specifies how many milliseconds to wait at most", { "number" })
|
||||
, configFile("config-file", 'f', "specifies the Syncthing config file to read API key and URL from, when not explicitely specified", { "path" })
|
||||
|
|
Loading…
Reference in New Issue