diff options
| author | typebrook <typebrook@gmail.com> | 2020-03-19 18:28:06 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-03-20 20:05:45 +0800 |
| commit | 35d37f75325a62ae9c1a907d1529f81dd174ada0 (patch) | |
| tree | 49782ae29419aa76bb320d41e991992a7722c850 | |
| parent | bd1224b96536121cba62097b0a19febe46ae14df (diff) | |
Modify short subcommand for user form U to u
| -rwxr-xr-x | gist | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -19,7 +19,7 @@ | |||
| 19 | # delete, D <index_of_gist>... [--force] Delete a gist | 19 | # delete, D <index_of_gist>... [--force] Delete a gist |
| 20 | # clean, C Clean removed gists in local | 20 | # clean, C Clean removed gists in local |
| 21 | # config, c [token | user | folder | auto_sync | EDITOR | action | protocol [value] ] Do configuration | 21 | # config, c [token | user | folder | auto_sync | EDITOR | action | protocol [value] ] Do configuration |
| 22 | # user, U <user> Get gists from a given Github user | 22 | # user, u <user> Get gists from a given Github user |
| 23 | # grep, g <pattern> Grep gists by a given pattern | 23 | # grep, g <pattern> Grep gists by a given pattern |
| 24 | # push, p <index_of_gist> Push changes by git (well, better to make commit by youself) | 24 | # push, p <index_of_gist> Push changes by git (well, better to make commit by youself) |
| 25 | # github, G <index_of_gist> Import selected gist as a new Github repo | 25 | # github, G <index_of_gist> Import selected gist as a new Github repo |
| @@ -730,7 +730,7 @@ case "$1" in | |||
| 730 | config | c) | 730 | config | c) |
| 731 | shift | 731 | shift |
| 732 | _configure "$@" && (_apply_config config && _check_protocol) ;; | 732 | _configure "$@" && (_apply_config config && _check_protocol) ;; |
| 733 | user | U) | 733 | user | u) |
| 734 | shift | 734 | shift |
| 735 | _query_user "$@" ;; | 735 | _query_user "$@" ;; |
| 736 | grep | g) | 736 | grep | g) |