Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update help #5

Merged
merged 3 commits into from
Jul 30, 2016
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
52 changes: 29 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,29 +68,35 @@ Usage: seq2gif [Options] < ttyrecord > record.gif
seq2gif [Options] -i ttyrecord -o record.gif

Options:
-w WIDTH, --width=WIDTH specify terminal width in cell size.
(default: 80)
-h HEIGHT, --height=HEIGHT specify terminal height in cell size.
(default: 24)
-l DELAY, --last-frame-delay=DELAY specify delay in msec which is added
to the last frame. (default: 300)
-f COLORNO --foreground-color=COLORNO specify foreground color palette.
number.
-b COLORNO --background-color=COLORNO specify background color palette
number.
-c COLORNO --cursor-color=COLORNO specify cursor color palette
number.
-t TABSTOP --tabstop=TABSTOP specify hardware tabstop(default: 8)
-j --cjkwidth treat East Asian Ambiguous width
characters (UAX#11) as wide.
-r COUNT --repeat=COUNT specify animation repeat count. loop
infinitely if 0 is given. (default: 0)
-i FILE --input=FILE specify input file name. use STDIN
if '-' is given. (default: '-')
-o FILE --output=FILE specify output file name. use STDOUT
if '-' is given. (default: '-')
-V, --version show version and license information.
-H, --help show this help.
-w WIDTH, --width=WIDTH specify terminal width in cell size.
(default: 80)
-h HEIGHT, --height=HEIGHT specify terminal height in cell size.
(default: 24)
-l DELAY, --last-frame-delay=DELAY specify delay in msec which is added
to the last frame. (default: 300)
-f COLORNO, --foreground-color=COLORNO specify foreground color palette.
number.
-b COLORNO, --background-color=COLORNO specify background color palette
number.
-c COLORNO, --cursor-color=COLORNO specify cursor color palette
number.
-t TABSTOP, --tabstop=TABSTOP specify hardware tabstop(default: 8)
-j, --cjkwidth treat East Asian Ambiguous width
characters (UAX#11) as wide.
-r COUNT, --repeat=COUNT specify animation repeat count. loop
infinitely if 0 is given. (default: 0)
-i FILE, --input=FILE specify input file name. use STDIN
if '-' is given. (default: '-')
-o FILE, --output=FILE specify output file name. use STDOUT
if '-' is given. (default: '-')
-V, --version show version and license information.
-H, --help show this help.
-I DELAY, --render-interval=DELAY skip frames with smaller delays than
DELAY specified in milliseconds.
(default: 20)
-s NUM, --play-speed=NUM specify the factor of the play speed.
A larger value means faster play.
(default: 1.0)
```


Expand Down
58 changes: 29 additions & 29 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,35 +217,35 @@ static void show_help()
" seq2gif [Options] -i ttyrecord -o record.gif\n"
"\n"
"Options:\n"
"-w WIDTH, --width=WIDTH specify terminal width in cell size.\n"
" (default: 80)\n"
"-h HEIGHT, --height=HEIGHT specify terminal height in cell size.\n"
" (default: 24)\n"
"-l DELAY, --last-frame-delay=DELAY specify delay in msec which is added\n"
" to the last frame. (default: 300)\n"
"-f COLORNO --foreground-color=COLORNO specify foreground color palette.\n"
" number.\n"
"-b COLORNO --background-color=COLORNO specify background color palette\n"
" number.\n"
"-c COLORNO --cursor-color=COLORNO specify cursor color palette\n"
" number.\n"
"-t TABSTOP --tabstop=TABSTOP specify hardware tabstop(default: 8)\n"
"-j --cjkwidth treat East Asian Ambiguous width\n"
" characters (UAX#11) as wide.\n"
"-r COUNT --repeat=COUNT specify animation repeat count. loop\n"
" infinitely if 0 is given. (default: 0)\n"
"-i FILE --input=FILE specify input file name. use STDIN\n"
" if '-' is given. (default: '-')\n"
"-o FILE --output=FILE specify output file name. use STDOUT\n"
" if '-' is given. (default: '-')\n"
"-V, --version show version and license information.\n"
"-H, --help show this help.\n"
"--render-interval=DELAY skip frames with smaller delays than\n"
" DELAY specified in milliseconds.\n"
" (default: 20)\n"
"-s NUM, --play-speed=NUM specify the factor of the play speed.\n"
" A larger value means faster play.\n"
" (default: 1.0)\n"
"-w WIDTH, --width=WIDTH specify terminal width in cell size.\n"
" (default: 80)\n"
"-h HEIGHT, --height=HEIGHT specify terminal height in cell size.\n"
" (default: 24)\n"
"-l DELAY, --last-frame-delay=DELAY specify delay in msec which is added\n"
" to the last frame. (default: 300)\n"
"-f COLORNO, --foreground-color=COLORNO specify foreground color palette.\n"
" number.\n"
"-b COLORNO, --background-color=COLORNO specify background color palette\n"
" number.\n"
"-c COLORNO, --cursor-color=COLORNO specify cursor color palette\n"
" number.\n"
"-t TABSTOP, --tabstop=TABSTOP specify hardware tabstop(default: 8)\n"
"-j, --cjkwidth treat East Asian Ambiguous width\n"
" characters (UAX#11) as wide.\n"
"-r COUNT, --repeat=COUNT specify animation repeat count. loop\n"
" infinitely if 0 is given. (default: 0)\n"
"-i FILE, --input=FILE specify input file name. use STDIN\n"
" if '-' is given. (default: '-')\n"
"-o FILE, --output=FILE specify output file name. use STDOUT\n"
" if '-' is given. (default: '-')\n"
"-V, --version show version and license information.\n"
"-H, --help show this help.\n"
"-I DELAY, --render-interval=DELAY skip frames with smaller delays than\n"
" DELAY specified in milliseconds.\n"
" (default: 20)\n"
"-s NUM, --play-speed=NUM specify the factor of the play speed.\n"
" A larger value means faster play.\n"
" (default: 1.0)\n"
);
}

Expand Down