From 81e8a45b3827a9346525d4284042060ae235a0e7 Mon Sep 17 00:00:00 2001 From: LeeW Date: Sun, 20 Sep 2015 18:44:40 +0800 Subject: [PATCH] Update git-ignore-io mannual --- man/git-ignore-io.1 | 40 ++++++++++++++++++++++++++++++++-------- man/git-ignore-io.1.html | 33 ++++++++++++++++++++++++--------- man/git-ignore-io.md | 33 +++++++++++++++++++++++++-------- 3 files changed, 81 insertions(+), 25 deletions(-) diff --git a/man/git-ignore-io.1 b/man/git-ignore-io.1 index 9ca855bc8..d5b2f082b 100644 --- a/man/git-ignore-io.1 +++ b/man/git-ignore-io.1 @@ -7,31 +7,55 @@ \fBgit\-ignore\-io\fR \- Get sample gitignore file . .SH "SYNOPSIS" -\fBgit ignore\-io\fR \fIOPTIONS\fR +\fBgit ignore\-io\fR [] . .SH "DESCRIPTION" Get sample gitignore file from gitignore\.io \fIhttps://www\.gitignore\.io\fR . .SH "OPTIONS" -[\-a|\-\-append] \fItypes\fR\.\.\. Append new \.gitignore content to \.gitignore under the current directory + +. +.P +\-a, \-\-append \.\.\. +. +.br +Append new \.gitignore content to \.gitignore under the current directory +. +.P +\-r, \-\-replace \.\.\. . .br -[\-e|\-\-export] \fItypes\fR\.\.\. Export new \.gitignore to the current directory (The old one will be replaced) +Export new \.gitignore to the current directory (The old one will be replaced) +. +.P +\-l, \-\-list\-in\-table . .br -[\-l|\-\-list\-in\-table] Print available types in table format +Print available types in table format +. +.P +\-L, \-\-list\-alphabetically . .br -[\-L|\-\-list\-alphabetically] Print available types in alphabetical order +Print available types in alphabetical order +. +.P +\-s, \-\-search . .br -[\-s|\-\-search] \fIword\fR Search word in available types +Search word in available types +. +.P +\-t, \-\-show\-update\-time . .br -[\-t|\-\-show\-update\-time] Show the last modified time of ~/\.gi_list (where the list of available types is stored) +Show the last modified time of ~/\.gi_list (where the list of available types is stored) +. +.P +\-u, \-\-update\-list . .br -[\-u|\-\-update\-list] Update ~/\.gi_list +Update ~/\.gi_list . .SH "EXAMPLES" Show sample gitignore file for vim diff --git a/man/git-ignore-io.1.html b/man/git-ignore-io.1.html index 47832b508..bcc311d7c 100644 --- a/man/git-ignore-io.1.html +++ b/man/git-ignore-io.1.html @@ -76,7 +76,7 @@

NAME

SYNOPSIS

-

git ignore-io OPTIONS

+

git ignore-io [<OPTIONS>]

DESCRIPTION

@@ -84,13 +84,28 @@

DESCRIPTION

OPTIONS

-

[-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|--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 is stored)
-[-u|--update-list] Update ~/.gi_list

+

<OPTIONS>

+ +

-a, --append <types>...
+ Append new .gitignore content to .gitignore under the current directory

+ +

-r, --replace <types>...
+ Export new .gitignore to the current directory (The old one will be replaced)

+ +

-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 is stored)

+ +

-u, --update-list
+ Update ~/.gi_list

EXAMPLES

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

EXAMPLES

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 3bf8c237c..8d0edbe21 100644 --- a/man/git-ignore-io.md +++ b/man/git-ignore-io.md @@ -3,20 +3,37 @@ git-ignore-io(1) -- Get sample gitignore file ## SYNOPSIS -`git ignore-io` [OPTIONS] +`git ignore-io` [<OPTIONS>] ## DESCRIPTION + Get sample gitignore file from [gitignore.io](https://www.gitignore.io) ## OPTIONS -[-a|--append] ... Append new .gitignore content to .gitignore under the current directory -[-r|--replace] ... Export new .gitignore to the current directory (The old one will be replaced) -[-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 is stored) -[-u|--update-list] Update ~/.gi\_list + <OPTIONS> + + -a, --append <types>... + Append new .gitignore content to .gitignore under the current directory + + -r, --replace <types>... + Export new .gitignore to the current directory (The old one will be replaced) + + -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 is stored) + + -u, --update-list + Update ~/.gi\_list + ## EXAMPLES Show sample gitignore file for vim