Skip to content
Snippets Groups Projects
Commit 8e51cfd0 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Small fix

option --root was not working properly
parent 839e2e83
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ Actions (choose only one):
newcv
create a new collective variable from a template (newcv -h for help)
Options:
--root ROOT
--root ROOT or --root=ROOT
set path to plumed directory (default: PLUMED_ROOT environment variable)
"
......@@ -31,6 +31,7 @@ do
(patch) action=patch; exitloop=yes ;;
(newcv) action=newcv; exitloop=yes ;;
(--root=*) PLUMED_ROOT="${prefix_option#--root=}" ;;
(--root) prefix="${prefix_option}=" ;;
(*)
echo "ERROR: Unknown option $prefix_option. Use 'plumed help' for help"
exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment