1. Juri Pakaste
  2. nsstringgen

Commits

Juri Pakaste  committed 48b67b2

Fixed argument check error.

  • Participants
  • Parent commits 15b3f8d
  • Branches default

Comments (0)

Files changed (1)

File nsstringfromenumgen

View file
 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: