Add full name for list option

This commit is contained in:
LeeW 2015-09-12 08:15:12 +08:00
parent 0393d560f8
commit 490d12b6f7
4 changed files with 11 additions and 11 deletions

View file

@ -61,8 +61,8 @@ show_usage() {
echo " git ignore-io <types>... Show gitignore template"
echo " [-a|--append] <types>... Append new .gitignore content to .gitignore under the current directory"
echo " [-e|--export] <types>... 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] <word> 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
;;
-*)

View file

@ -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

View file

@ -86,8 +86,8 @@
<p>[-a|--append] <var>types</var>... Append new .gitignore content to .gitignore under the current directory<br />
[-e|--export] <var>types</var>... Export new .gitignore to the current directory (The old one will be replaced)<br />
[-L] Print available types in alphabetical order<br />
[-l] Print available types in table format<br />
[-l|--list-in-table] Print available types in table format<br />
[-L|--list-alphabetically] Print available types in alphabetical order<br />
[-s|--search] <var>word</var> Search word in available types<br />
[-t|--show-update-time] Show the last modified time of ~/.gi_list (where the list of available types stored)<br />
[-u|--update-list] Update ~/.gi_list</p>
@ -137,7 +137,7 @@
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Lee-W <a href="&#109;&#97;&#105;&#108;&#x74;&#x6f;&#58;&#x63;&#108;&#x38;&#55;&#x36;&#x35;&#x34;&#x33;&#50;&#x31;&#x40;&#x67;&#109;&#x61;&#x69;&#x6c;&#46;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x63;&#x6c;&#56;&#x37;&#54;&#53;&#x34;&#51;&#x32;&#49;&#x40;&#103;&#109;&#97;&#105;&#x6c;&#46;&#99;&#111;&#109;</a></p>
<p>Written by Lee-W <a href="&#109;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#99;&#108;&#56;&#55;&#54;&#x35;&#52;&#51;&#50;&#49;&#64;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#99;&#108;&#x38;&#x37;&#54;&#53;&#52;&#x33;&#50;&#49;&#64;&#103;&#109;&#97;&#105;&#x6c;&#x2e;&#99;&#x6f;&#109;</a></p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>

View file

@ -12,8 +12,8 @@ Get sample gitignore file from [gitignore.io](https://www.gitignore.io)
[-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