Open
Description
In the following documentation http://rubydoc.info/github/wycats/thor/master/Thor under class_option section
about :aliases
is said that:
Note: Thor follows a convention of one-dash-one-letter options. Thus aliases like “-something” wouldn't be parsed; use either “--something” or “-s” instead.
But actually, if you use -s
as alias it wont work because you already have such alias defined for Thor
run-time options:
Runtime options:
-f, [--force] # Overwrite files that already exist
-p, [--pretend] # Run but do not make any changes
-q, [--quiet] # Suppress status output
-s, [--skip] # Skip files that already exist
I believe the documentation should be updated giving a valid example and mentioning that some aliases are already taken.
I am using thor (0.18.1)
.