Commits

spirit committed 15aa20e

Short option for --encoding

  • Participants
  • Parent commits 46f0bc6

Comments (0)

Files changed (1)

File guess_language/__main__.py

     )
     parser.add_argument("file",
                         help='plain text file or "-" for stdin')
-    parser.add_argument("--encoding",
+    parser.add_argument("-c", "--encoding",
                         help="input encoding")
     parser.add_argument("--disable-enchant", dest="use_enchant",
                         action="store_false",