Fixed a bug in the handling of the --list-algorithms option
Suppressing the default value makes the help message clearer, which is
good... but it means the attribute won't appear in the parsed arguments
unless it's specified, which broke every other option
@@ -291,7 +291,7 @@ def main():
args = parser.parse_args()
- if args.list_algorithms:
+ if hasattr(args, "list_algorithms"):
print "The following algorithms are supported..."
for point in _algorithms:
print "\t... for the point type '%s'..." % point
