Skip to content

Commit

Permalink
#16 allow removal of multiple points at once
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-tango-kilo authored and mfaerevaag committed Aug 5, 2020
1 parent e6fb760 commit 736ffaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ else
break
;;
"-r"|"--remove"|"rm")
wd_remove $2
# Loop over all arguments after "rm", separated by whitespace
for pointname in "${@:2}" ; do
wd_remove $pointname
done
break
;;
"-l"|"list")
Expand Down

0 comments on commit 736ffaf

Please sign in to comment.