diff --git a/bin/git-ignore-io b/bin/git-ignore-io index ac584d4..5aa3fd6 100755 --- a/bin/git-ignore-io +++ b/bin/git-ignore-io @@ -61,8 +61,8 @@ show_usage() { echo " git ignore-io ... Show gitignore template" echo " [-a|--append] ... Append new .gitignore content to .gitignore under the current directory" echo " [-e|--export] ... Export new .gitignore to the current directory (The old one will be replaced)" - echo " [-l] Print available types in table format" - echo " [-L] Print available types in alphabetical order " + echo " [-l|--list-in-table] Print available types in table format" + echo " [-L|--list-alphabetically] Print available types in alphabetical order " echo " [-s|--search] Search word in available types" echo " [-t|--show-update-time] Show the last modified time of ~/.gi_list (where the list of available types stored)" echo " [-u|--update-list] Update ~/.gi_list" @@ -109,10 +109,10 @@ else -s|--search) search $2 ;; - -L) + -L|--list-alphabetically) print_in_alphabetical_order ;; - -l) + -l|--list-in-table) print_in_table_format ;; -*) diff --git a/man/git-ignore-io.1 b/man/git-ignore-io.1 index e0844c0..13144a7 100644 --- a/man/git-ignore-io.1 +++ b/man/git-ignore-io.1 @@ -19,10 +19,10 @@ Get sample gitignore file from gitignore\.io \fIhttps://www\.gitignore\.io\fR [\-e|\-\-export] \fItypes\fR\.\.\. Export new \.gitignore to the current directory (The old one will be replaced) . .br -[\-L] Print available types in alphabetical order +[\-l|\-\-list\-in\-table] Print available types in table format . .br -[\-l] Print available types in table format +[\-L|\-\-list\-alphabetically] Print available types in alphabetical order . .br [\-s|\-\-search] \fIword\fR Search word in available types diff --git a/man/git-ignore-io.1.html b/man/git-ignore-io.1.html index de87937..8da04c0 100644 --- a/man/git-ignore-io.1.html +++ b/man/git-ignore-io.1.html @@ -86,8 +86,8 @@

[-a|--append] types... Append new .gitignore content to .gitignore under the current directory
[-e|--export] types... Export new .gitignore to the current directory (The old one will be replaced)
-[-L] Print available types in alphabetical order
-[-l] Print available types in table format
+[-l|--list-in-table] Print available types in table format
+[-L|--list-alphabetically] Print available types in alphabetical order
[-s|--search] word Search word in available types
[-t|--show-update-time] Show the last modified time of ~/.gi_list (where the list of available types stored)
[-u|--update-list] Update ~/.gi_list

@@ -137,7 +137,7 @@

AUTHOR

-

Written by Lee-W cl87654321@gmail.com

+

Written by Lee-W cl87654321@gmail.com

REPORTING BUGS

diff --git a/man/git-ignore-io.md b/man/git-ignore-io.md index 25df1b6..ca83cfa 100644 --- a/man/git-ignore-io.md +++ b/man/git-ignore-io.md @@ -12,8 +12,8 @@ Get sample gitignore file from [gitignore.io](https://www.gitignore.io) [-a|--append] ... Append new .gitignore content to .gitignore under the current directory [-e|--export] ... Export new .gitignore to the current directory (The old one will be replaced) -[-L] Print available types in alphabetical order -[-l] Print available types in table format +[-l|--list-in-table] Print available types in table format +[-L|--list-alphabetically] Print available types in alphabetical order [-s|--search] Search word in available types [-t|--show-update-time] Show the last modified time of ~/.gi\_list (where the list of available types stored) [-u|--update-list] Update ~/.gi\_list