Unify usage and synopsis (#2153)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-09-17 15:17:21 +10:00
1 parent f050abc57c
commit d2bcae2943
1 file changed
+8 -8
+8 -8
View File
@@ -267,41 +267,41 @@ func main() {
remoteCmd := flag.String(
"remote",
"",
"send remote command to server")
"send remote `command` to server")
cpuprofile := flag.String(
"cpuprofile",
"",
"path to the file to write the CPU profile")
"`path` to the file to write the CPU profile")
memprofile := flag.String(
"memprofile",
"",
"path to the file to write the memory profile")
"`path` to the file to write the memory profile")
flag.StringVar(&gLastDirPath,
"last-dir-path",
"",
"path to the file to write the last dir on exit (to use for cd)")
"`path` to the file to write the last dir on exit (to use for cd)")
flag.StringVar(&gSelectionPath,
"selection-path",
"",
"path to the file to write selected files on open (to use as open file dialog)")
"`path` to the file to write selected files on open (to use as open file dialog)")
flag.StringVar(&gConfigPath,
"config",
"",
"path to the config file (instead of the usual paths)")
"`path` to the config file (instead of the usual paths)")
flag.Var(&gCommands,
"command",
"command to execute on client initialization")
"`command` to execute on client initialization")
flag.StringVar(&gLogPath,
"log",
"",
"path to the log file to write messages")
"`path` to the log file to write messages")
flag.Parse()