mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Fix typo
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
# $ has-argument help h "-t none -h"
|
# $ has-argument help h "-t none -h"
|
||||||
# > returns 0
|
# > returns 0
|
||||||
#
|
#
|
||||||
# Returns 0 and echos value if argument was found, returns 1 otherwise.
|
# Returns 0 if argument was found, returns 1 otherwise.
|
||||||
has-argument() {
|
has-argument() {
|
||||||
local long short args arg next_arg
|
local long short
|
||||||
|
|
||||||
long="--$1"
|
long="--$1"
|
||||||
short="-$2"
|
short="-$2"
|
||||||
|
|||||||
Reference in New Issue
Block a user