diff options
| -rwxr-xr-x | msci | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -175,7 +175,7 @@ edit_project() { } case $1 in -create) +--create) if [ -z "$2" ]; then echo "no project file name is supplied" exit 1 @@ -186,7 +186,7 @@ create) fi create_project "$2" ;; -edit) +--edit) if [ -z "$2" ]; then echo "no project file name is supplied" exit 1 @@ -197,7 +197,7 @@ edit) fi edit_project "$2" ;; -delete) +--delete) if [ -z "$2" ]; then echo "no project file name is supplied" exit 1 @@ -214,7 +214,7 @@ delete) rm -rf "$MSCI_HOME"/stdout/**/"$2" write_cron ;; -run) +--run) if [ -z "$2" ]; then echo "no project file name is supplied" exit 1 @@ -248,10 +248,10 @@ run) stdout_path="$stdout_path"/"$next_run" run_project "$2" "$stdout_path" ;; -list) +--list) list_projects ;; -clean) +--clean) case "$2" in --tmp) echo "cleaning tmp for all projects" @@ -293,17 +293,17 @@ options: - matching the regex ^[A-Za-z0-9_]+\$ - that is not necessarily the project name - create <filename> create a new project + --create <filename> create a new project - edit <filename> edit a project + --edit <filename> edit a project - delete <filename> delete a project and clean up + --delete <filename> delete a project and clean up - run <filename> run a project + --run <filename> run a project - list list projects + --list list projects - clean <filename>|[SELECTION] + --clean <filename>|[SELECTION] if <filename>, prompts for cleaning a particular project selections: --tmp clean tmp files, such as cloned repos |
