Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manostool --init dies ungracefully if no AppName is given #121

Open
dwierenga opened this issue Jul 15, 2011 · 0 comments
Open

manostool --init dies ungracefully if no AppName is given #121

dwierenga opened this issue Jul 15, 2011 · 0 comments

Comments

@dwierenga
Copy link

When running manostool.exe --init, the application dies with a stacktrace if no AppName is given:

.\manostool.exe --init
manos --init
This will initialize a new application with the supplied name.
error while initializing application:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List1.get_Item(Int32 index) at Manos.Tool.Driver.Init(IList1 args) in C:\Users\dwierenga\Desktop\jacksonh-manos-313e9a8\src\manostool\Driver.cs:line 138

However the ShowHelp mentions nothing about needing an argument:

./manostool -h init
manos usage is: manos [command] [options]

-h, -?, --help
--init, -i
--server, -s
--docs, -d
--build, -b
--show-environment, --se

  --run, -r=VALUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant