small medium large xlarge

Generic-user-small
19 May 2016, 19:16
Lee Page (2 posts)

Although bundle exec bin/todo new -h and bundle exec bin/todo list -h will both produce their respective command help info, bundle exec bin/todo done -h takes me to the bundle exec help info.

I tried changing from ‘done’ to ‘complete’ a la gli scaffold todo new list complete but I got the same problematic results.

In fact, i discovered that all of the following will produce the same problem: done, complete, strike, phase, apple, and snake (!!!!)

Is this not very strange?

Thanks, Lee Page Nashville, TN

Dmfcb_pragsmall
19 May 2016, 19:46
David Copeland (467 posts)

It could be because of bundler, but for a GLI app, the way to get help is app help «command», e.g. todo help create.

I’m guessing -h is getting passed to bundler?

Generic-user-small
19 May 2016, 20:17
Lee Page (2 posts)

First, thank you for responding so quickly! That is awesome. Second, I’m still learning to read, apparently.

Thanks again, Lee

Dmfcb_pragsmall
19 May 2016, 20:46
David Copeland (467 posts)

No worries. You are not the first person that expected todo list -h to show help for the list command.. Arguably, GLI should support it (and I think there’s an open issue for it—I just haven’t found time to look into it :)

You must be logged in to comment