From cf06bc2e08e0ee91bfa37d2f144bf51c377cd2e0 Mon Sep 17 00:00:00 2001 From: Garry Boyer Date: Wed, 28 Mar 2007 23:44:54 +0000 Subject: [PATCH] fixed help for fx-cleanup --- fastlib/script/fx-cleanup | 6 +++--- fastlib/script/util.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fastlib/script/fx-cleanup b/fastlib/script/fx-cleanup index ef1790f606..0a942a60d9 100755 --- a/fastlib/script/fx-cleanup +++ b/fastlib/script/fx-cleanup @@ -4,10 +4,10 @@ USAGE = """fx-cleanup: Shows a status summary of a FASTexec experiment. Example: - fx-status knn_k ./main # removes status files of failed trials - fx-status knn_k ./main --purge # removes entire directories of + fx-cleanup knn_k ./main # removes status files of failed trials + fx-cleanup knn_k ./main --purge # removes entire directories of failed trials - fx-status knn_k ./main --nuke # removes all directories of all trials + fx-cleanup knn_k ./main --nuke # removes all directories of all trials The point of fx-cleanup is to allow the re-running of trials. The normal use (with no special options) allows the re-running of trials diff --git a/fastlib/script/util.py b/fastlib/script/util.py index bb4715166b..8ff46a794e 100644 --- a/fastlib/script/util.py +++ b/fastlib/script/util.py @@ -227,7 +227,7 @@ def shellquote(s): if c in map.keys(): result += map[c] changed = True - elif c.isalnum() or c == '/': + elif c.isalnum() or c in "/._-": result += c else: result += c