Commit Graph

1991 Commits

Author SHA1 Message Date
Akihiro Suda
75e7c526bd Add HideHelpCommand
While `HideHelp` hides both `help` command and `--help` flag, `HideHelpCommand`
only hides `help` command and leave `--help` flag as-is.

The behavior of `HideHelp` is untouched in this commit.

Fix #523
Replace #636

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-03-06 16:17:24 +09:00
Robert Liebowitz
3cc9946b2a
Merge pull request #1080 from saschagrunert/refactor-flag-default
Refactor '(default: …)' flag string into utility function
2020-03-05 08:19:39 -05:00
lynn [they]
1b7e4e00c7
Merge pull request #1079 from urfave/binary-size
Add binary size bounds checking
2020-03-02 12:01:17 -08:00
Sascha Grunert
7742363500
Refactor '(default: …)' flag string into utility function
The usage of the `(default: …)` strings are a bit error prone so we now
refactor them into a dedicated helper function.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-03-02 13:05:45 +01:00
Lynn
a8a1ef04ee
move bounds 2020-02-29 14:04:21 -08:00
Lynn
bb4ec3bda2
docs 2020-02-29 14:03:02 -08:00
Lynn
1d4b01a6fc
move bounds 2020-02-29 14:02:03 -08:00
Lynn
3558c7f30c
add diffing 2020-02-29 14:00:26 -08:00
Lynn
a0932dafcb
move bounds 2020-02-29 13:41:43 -08:00
Lynn
741984cad4
move bounds 2020-02-29 13:37:06 -08:00
Lynn
a25f82805f
fix linker flags 2020-02-29 13:35:43 -08:00
lynn [they]
6ffee22f36
add linker flags 2020-02-29 13:26:25 -08:00
lynn [they]
d206020179
Update internal/build/build.go
Co-Authored-By: Sascha Grunert <sgrunert@suse.com>
2020-02-29 13:21:31 -08:00
lynn [they]
573004ad6a
Merge pull request #1078 from davidsbond/stringslice-destination
Allow specifying a StringSlice destination for StringSliceFlag
2020-02-29 01:15:17 -08:00
Lynn
6594da85f6
max guidance 2020-02-29 00:47:10 -08:00
Lynn
b1977c242d
clarify MB 2020-02-29 00:39:47 -08:00
Lynn
0ec96bc064
decrease min 2020-02-29 00:35:46 -08:00
Lynn
055c9c076d
big guidance 2020-02-29 00:33:51 -08:00
Lynn
365dd2b4cb
test ci 2020-02-29 00:25:44 -08:00
Lynn
3a7e251d48
add min maxing 2020-02-29 00:25:00 -08:00
Lynn
2571506b8d
docs 2020-02-28 23:59:11 -08:00
Lynn
7bdc44fa18
docs 2020-02-28 23:58:29 -08:00
Lynn
e7e165ef1b
cleanup rounding 2020-02-28 23:56:57 -08:00
Lynn
75089f4a6c
show size in mb 2020-02-28 23:51:42 -08:00
Lynn
45f2a862ff
ci readability 2020-02-28 23:36:34 -08:00
Lynn
d6dfe3eb9b
smaller example 2020-02-28 23:30:17 -08:00
Lynn
3b30b5c422
show file size 2020-02-28 23:29:27 -08:00
Lynn
da34a22eef
docs 2020-02-28 23:20:46 -08:00
Lynn
863b4a58fe
binary size checking hooks 2020-02-28 23:19:43 -08:00
Lynn
af5ec51a36
add example file 2020-02-28 23:12:46 -08:00
Lynn
1493c542fb
reset to master 2020-02-28 23:07:26 -08:00
Lynn
4a785e9f9c
WIP binary size work 2020-02-28 23:06:39 -08:00
davidsbond
e19b1565a8 Allow specifying a StringSlice destination for StringSliceFlag 2020-02-28 12:00:31 +00:00
lynn [they]
46c380b962
Merge pull request #1077 from urfave/lynncyrin-patch-1
Release 1.22.3 notes
2020-02-26 17:05:45 -08:00
lynn [they]
ee73e2737f
Update CHANGELOG.md 2020-02-25 22:03:39 -08:00
Robert Liebowitz
d04c0883fc
Merge pull request #1062 from zhsj/fix-zsh
Fix zsh completion scripts
2020-02-11 06:41:51 -05:00
Robert Liebowitz
cc46cf9c34
Merge pull request #1067 from tsubasaxZZZ/patch-3
Added & before cli flag
2020-02-11 06:24:56 -05:00
tsubasa
e5116c870d
Added & before cli flag
Added & before cli flag
2020-02-11 15:12:31 +09:00
Shengjing Zhu
748fe05362 Fix zsh completion scripts
This fix completion when argument startswith -
And prevent completing a space when no candidates
2020-02-10 01:43:36 +08:00
lynn [they]
7a5ed4801a
Merge pull request #1059 from masonj188/bash-docs
Improved auto-completion instructions and added example gifs
2020-02-06 08:54:00 -08:00
Mason Johnson
305e3decba Improved auto-completion instructions and example gifs 2020-02-05 17:51:33 -07:00
lynn [they]
fed41d6ef8
Merge pull request #997 from drov0/patch-1
Add timestampFlag docs
2020-01-30 00:26:46 -08:00
lynn [they]
ffbb8c04e4
Merge pull request #1054 from itchyny/subcommand-consistent-description
Fix description of subcommand more consistent
2020-01-29 07:01:09 -08:00
itchyny
aed5577db6 fix description of subcommand more consistent 2020-01-28 17:31:02 +09:00
lynn [they]
3f8c3bca57
Merge pull request #1053 from urfave/gofmt-ci-check
gofmt CI check
2020-01-27 13:50:31 -08:00
Ajitem Sahasrabuddhe
8a9326b22d
Update manual.md
formatting nits
2020-01-27 11:14:24 +05:30
Ajitem Sahasrabuddhe
f497fa3b9f
fix order of placement and toc 2020-01-26 19:49:43 +05:30
Ajitem Sahasrabuddhe
1efee6b1da
docs test expects a regex of output 2020-01-26 19:45:04 +05:30
Ajitem Sahasrabuddhe
1c57160c23
Update manual.md 2020-01-26 19:19:11 +05:30
Ajitem Sahasrabuddhe
ec94e0e667
fix problem with quotations 2020-01-26 19:15:30 +05:30