Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/xc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func flags() config {

flag.BoolVar(&cfg.short, "short", false, "list task names in a short format")
flag.BoolVar(&cfg.short, "s", false, "list task names in a short format")
flag.BoolVar(&cfg.short, "list", false, "list task names in a short format")

flag.BoolVar(&cfg.display, "d", false, "print the plain text code of a task rather than running it")
flag.BoolVar(&cfg.display, "display", false, "print the plain text code of a task rather than running it")
Expand Down Expand Up @@ -294,6 +295,7 @@ func completion(tasks models.Tasks) *complete.Command {
"file": predict.Files("*.md"),
"s": predict.Nothing,
"short": predict.Nothing,
"list": predict.Nothing,
"d": predict.Nothing,
"display": predict.Nothing,
"H": predict.Nothing,
Expand Down
2 changes: 1 addition & 1 deletion cmd/xc/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ xc
Interactive picker for xc tasks.
If -file is not specified and no README.md is found in the current directory,
xc will search in parent directories for convenience.
-s -short
-s -short -list
List task names in a short format.
-no-tty
Disable interactive mode.
Expand Down
Loading