diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-12 11:03:30 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-12 11:03:30 -0500 |
commit | 26af29e85cb3d78fe966fbeda24905976eafe225 (patch) | |
tree | d254fea174a81553b6e07ecd44bc3546d11057c7 | |
parent | 146d12ded31768f558b53ad14e06d6029498f2be (diff) | |
download | squashfu-26af29e85cb3d78fe966fbeda24905976eafe225.tar.gz |
Add makeshift option parser to test rollback function
-rwxr-xr-x | squashfu | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -304,5 +304,9 @@ action_report () { } -action_backup +case $1 in + "-B") action_backup ;; + "-R") shift, action_rollback ;; + *) "Invalid action" ;; +esac |