You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Println(" micro [OPTION]... [FILE[:LINE[:COL]]]... (only if the `parsecursor` option is enabled)")
51
52
fmt.Println("-clean")
52
-
fmt.Println(" \tCleans the configuration directory")
53
+
fmt.Println(" \tClean the configuration directory and exit")
53
54
fmt.Println("-config-dir dir")
54
55
fmt.Println(" \tSpecify a custom location for the configuration directory")
55
-
fmt.Println("[FILE]:LINE:COL (if the `parsecursor` option is enabled)")
56
-
fmt.Println("+LINE:COL")
56
+
fmt.Println("FILE:LINE[:COL] (only if the `parsecursor` option is enabled)")
57
+
fmt.Println("FILE +LINE[:COL]")
57
58
fmt.Println(" \tSpecify a line and column to start the cursor at when opening a buffer")
58
59
fmt.Println("-options")
59
-
fmt.Println(" \tShow all option help")
60
+
fmt.Println(" \tShow all options help and exit")
60
61
fmt.Println("-debug")
61
62
fmt.Println(" \tEnable debug mode (enables logging to ./log.txt)")
62
63
fmt.Println("-profile")
63
64
fmt.Println(" \tEnable CPU profiling (writes profile info to ./micro.prof")
64
65
fmt.Println(" \tso it can be analyzed later with \"go tool pprof micro.prof\")")
65
66
fmt.Println("-version")
66
-
fmt.Println(" \tShow the version number and information")
67
+
fmt.Println(" \tShow the version number and information and exit")
67
68
68
69
fmt.Print("\nMicro's plugins can be managed at the command line with the following commands.\n")
69
70
fmt.Println("-plugin install [PLUGIN]...")
@@ -80,7 +81,7 @@ func InitFlags() {
80
81
fmt.Println(" \tList available plugins")
81
82
82
83
fmt.Print("\nMicro's options can also be set via command line arguments for quick\nadjustments. For real configuration, please use the settings.json\nfile (see 'help options').\n\n")
83
-
fmt.Println("-option value")
84
+
fmt.Println("-<option> value")
84
85
fmt.Println(" \tSet `option` to `value` for this session")
85
86
fmt.Println(" \tFor example: `micro -syntax off file.c`")
86
87
fmt.Println("\nUse `micro -options` to see the full list of configuration options")
0 commit comments