Skip to content

Commit 504aafa

Browse files
author
peter
committed
-cp added
1 parent df91d60 commit 504aafa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Options:
4747
* -wnum - line width is num symbols (70 by default);
4848
* -iscript - read script line by line and use it as commands;
4949
* -lfile - write all input commands to file;
50+
* -cpCODEPAGE - Win only (1251 by default), use 65001 for UTF-8;
5051
* -a - autosave on exit and autoload on start (autosave file).
5152

5253
## Links

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ int main(int argc, const char **argv)
234234
#endif
235235
if (!game) {
236236
printf("instead-cli %s (by Peter Kosyh '2021)\n", VERSION);
237-
fprintf(stdout, "Usage: %s [-d<file>] [-w<width>] [-i<script>] [-l<log>] <game>\n", argv[0]);
237+
fprintf(stdout, "Usage: %s [-d<file>] [-w<width>] [-i<script>] [-l<log>] [-a] <game>\n", argv[0]);
238238
exit(1);
239239
}
240240

0 commit comments

Comments
 (0)