|
@@ -8,7 +8,7 @@ shellfu import dottum
|
8
|
8
|
shellfu import saturnin
|
9
|
9
|
|
10
|
10
|
usage() {
|
11
|
|
- mkusage "[options] VAULT [SUBVAULT]" \
|
|
11
|
+ mkusage "$@" "[options] VAULT [SUBVAULT]" \
|
12
|
12
|
-o \
|
13
|
13
|
"-n Do not do anything, just show what would be done" \
|
14
|
14
|
"-B Do not replace broken link" \
|
|
@@ -18,7 +18,7 @@ usage() {
|
18
|
18
|
dottum__route() {
|
19
|
19
|
local Vault=$1; shift
|
20
|
20
|
local SubVaults=()
|
21
|
|
- test -n "$Vault" || usage
|
|
21
|
+ test -n "$Vault" || usage -w "no VAULT?"
|
22
|
22
|
test -e "$Vault" || die "vault does not exist: $Vault"
|
23
|
23
|
test -d "$Vault" || die "vault is not a directory: $Vault"
|
24
|
24
|
SubVaults=("$@")
|