mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Add full name for list option
This commit is contained in:
parent
0393d560f8
commit
490d12b6f7
|
|
@ -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
|
||||
;;
|
||||
-*)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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="mailto:cl87654321@gmail.com" data-bare-link="true">cl87654321@gmail.com</a></p>
|
||||
<p>Written by Lee-W <a href="mailto:cl87654321@gmail.com" data-bare-link="true">cl87654321@gmail.com</a></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue