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: 1 addition & 1 deletion examples/colors/colorly
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
6 changes: 3 additions & 3 deletions examples/command-default/ftp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -217,7 +217,7 @@ ftp_upload_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -271,7 +271,7 @@ ftp_download_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
10 changes: 5 additions & 5 deletions examples/command-groups/ftp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -290,7 +290,7 @@ ftp_download_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -344,7 +344,7 @@ ftp_upload_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -398,7 +398,7 @@ ftp_login_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -440,7 +440,7 @@ ftp_logout_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
14 changes: 7 additions & 7 deletions examples/commands-nested/cli
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -360,7 +360,7 @@ cli_dir_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -427,7 +427,7 @@ cli_dir_list_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -481,7 +481,7 @@ cli_dir_remove_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -541,7 +541,7 @@ cli_file_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -608,7 +608,7 @@ cli_file_show_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -662,7 +662,7 @@ cli_file_edit_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
6 changes: 3 additions & 3 deletions examples/commands/cli
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -250,7 +250,7 @@ cli_download_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -313,7 +313,7 @@ cli_upload_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
8 changes: 4 additions & 4 deletions examples/config-ini/configly
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -390,7 +390,7 @@ configly_set_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -455,7 +455,7 @@ configly_get_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -509,7 +509,7 @@ configly_list_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-includes/download
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-strings/download
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
6 changes: 3 additions & 3 deletions examples/dependencies/cli
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -189,7 +189,7 @@ cli_download_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -239,7 +239,7 @@ cli_upload_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
12 changes: 6 additions & 6 deletions examples/docker-like/docker
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -308,7 +308,7 @@ docker_container_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -375,7 +375,7 @@ docker_container_run_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -429,7 +429,7 @@ docker_container_stop_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -483,7 +483,7 @@ docker_image_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -543,7 +543,7 @@ docker_image_ls_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
4 changes: 2 additions & 2 deletions examples/environment-variables/cli
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -169,7 +169,7 @@ cli_verify_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
6 changes: 3 additions & 3 deletions examples/git-like/git
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -205,7 +205,7 @@ git_status_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -247,7 +247,7 @@ git_commit_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/download
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
2 changes: 1 addition & 1 deletion examples/minus-v/cli
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ parse_requirements() {
case "$1" in
--version )
version_command
exit 1
exit
;;

--help )
Expand Down
6 changes: 3 additions & 3 deletions examples/multiline/multi
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -226,7 +226,7 @@ multi_multiline_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down Expand Up @@ -279,7 +279,7 @@ multi_regular_parse_requirements() {
case "$1" in
--version | -v )
version_command
exit 1
exit
;;

--help | -h )
Expand Down
Loading