rearrange
This commit is contained in:
parent
a478df2dcc
commit
4cd015b017
8
argv.go
8
argv.go
|
@ -168,10 +168,6 @@ forge -- a tool to manage lots of git repos. forge includes a GUI and TUI.
|
|||
`
|
||||
}
|
||||
|
||||
func (args) Appname() string {
|
||||
return ARGNAME
|
||||
}
|
||||
|
||||
func ifBlank(arg string) bool {
|
||||
if arg == "''" {
|
||||
// if empty, the user has not typed something
|
||||
|
@ -180,6 +176,10 @@ func ifBlank(arg string) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
func (args) Appname() string {
|
||||
return ARGNAME
|
||||
}
|
||||
|
||||
func (a args) DoAutoComplete(pb *prep.Auto) {
|
||||
if pb.Cmd == "" {
|
||||
pb.Autocomplete3([]string{"checkout", "clean", "commit", "config", "gui", "merge", "normal", "patch", "pull", "show"})
|
||||
|
|
Loading…
Reference in New Issue