Commits

Juri Pakaste committed 48b67b2

Fixed argument check error.

Comments (0)

Files changed (1)

nsstringfromenumgen

 args = aparse.parse_args()
 
 if len(args.files) == 0 and args.text is None:
-	args.error("Need to specify either one or more files (or -) or --text")
+	aparse.error("Need to specify either one or more files (or -) or --text")
 
 try:
     for fname in args.files: