Skip to content

Commit

Permalink
Merge 313ca7b into 0ac0fd6
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 30, 2016
2 parents 0ac0fd6 + 313ca7b commit a0c0fc7
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 52 deletions.
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

0 comments on commit a0c0fc7

Please sign in to comment.