X-Git-Url: https://git.sthu.org/?p=smailq.git;a=blobdiff_plain;f=smailq;h=6e1ac91bba0bdb4d19cc06dda584f9ebbdeb5af7;hp=73c954fcbb8bc757d3dae7b02ac9c4bd33ac8bbf;hb=a7b0e726da6d5fdd4d76b9a6eaa25557635fe83f;hpb=89639462ddd575e1115fb8aad0c12905be102169 diff --git a/smailq b/smailq index 73c954f..6e1ac91 100755 --- a/smailq +++ b/smailq @@ -390,7 +390,7 @@ COMMANDS: OPTIONS: -C, --config=FILE - Use the given configuration file instead of "$HOME/.smailq.conf". + Use the given configuration file. -q, --quiet Do not print info messages. @@ -434,7 +434,7 @@ if __name__ == "__main__": assert(False) except getopt.GetoptError as e: - printerr("Error parsing arguments:", e) + printerr("Error parsing arguments: " + str(e)) usage() sys.exit(os.EX_USAGE) @@ -458,7 +458,7 @@ if __name__ == "__main__": os.mkdir(conf.getlogdir()) except Exception as e: - printerr("Error reading config file:", e) + printerr("Error reading config file: " + str(e)) sys.exit(os.EX_IOERR) try: