mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
require args
This commit is contained in:
parent
6619940c93
commit
c828081c3d
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@ usage() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Check if no arguments are provided.
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
|
||||||
# Parse command-line arguments.
|
# Parse command-line arguments.
|
||||||
while getopts "v:b:" opt; do
|
while getopts "v:b:" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
|
|
Loading…
Reference in a new issue