mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +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
|
||||
}
|
||||
|
||||
# Check if no arguments are provided.
|
||||
if [ $# -eq 0 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
# Parse command-line arguments.
|
||||
while getopts "v:b:" opt; do
|
||||
case "$opt" in
|
||||
|
|
Loading…
Reference in a new issue