Skip to content

Commit a390db9

Browse files
committed
renamed --ibmpc to --cp437 and rewrote description, to avoid confusion
1 parent f4fd11e commit a390db9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

durdraw/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def main():
6363
parser.add_argument("--notheme", help="Disable theme support (use default theme)",
6464
action="store_true")
6565
parser.add_argument("--theme", help="Load a custom theme file", nargs=1)
66-
parser.add_argument("-A", "--ibmpc", "--cp437", help="Use Code Page 437 (IBM-PC/MS-DOS) block character encoding instead of Unicode. (Needs CP437 capable terminal and font)", action="store_true")
66+
#parser.add_argument("-A", "--ibmpc", "--cp437", help="Use Code Page 437 (IBM-PC/MS-DOS) block character encoding instead of Unicode. (Needs CP437 capable terminal and font)", action="store_true")
67+
parser.add_argument("--cp437", help="Display extended characters on the screen using Code Page 437 (IBM-PC/MS-DOS) encoding instead of Utf-8. (Requires CP437 capable terminal and font) (beta)", action="store_true")
6768
parser.add_argument("--export-ansi", action="store_true", help="Export loaded art to an .ansi file and exit")
6869
parser.add_argument("-u", "--undosize", help="Set the number of undo history states - default is 100. More requires more RAM, less saves RAM.", nargs=1, type=int)
6970
parser.add_argument("-V", "--version", help="Show version number and exit",
@@ -116,7 +117,7 @@ def main():
116117
app.colorMode = "256"
117118
if args.locolor:
118119
app.colorMode = "16"
119-
if args.ibmpc:
120+
if args.cp437:
120121
app.charEncoding = 'ibm-pc'
121122
#app.drawChar = '$'
122123
else:

0 commit comments

Comments
 (0)