add select-path to -help (#749)
This commit is contained in:
1 parent
a4842e19d4
commit
761aa23483
3 files changed
+14
-2
No files matched your search
@@ -185,6 +185,18 @@ func checkServer() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
flag.Usage = func() {
|
||||
f := flag.CommandLine.Output()
|
||||
fmt.Fprintln(f, "lf - Terminal file manager")
|
||||
fmt.Fprintln(f, "")
|
||||
fmt.Fprintf(f, "Usage: %s [options] [select-path]\n\n", os.Args[0])
|
||||
fmt.Fprintln(f, " select-path")
|
||||
fmt.Fprintln(f, " set the initial file selection to the given argument")
|
||||
fmt.Fprintln(f, "")
|
||||
fmt.Fprintln(f, "Options:")
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
|
||||
showDoc := flag.Bool(
|
||||
"doc",
|
||||
false,
|
||||
|
||||
Reference in new issue
Block a user