golang/dep

-old flag for dep status command is not implemented.

Closed this issue · 4 comments

The only mentions of old value are:

fs.BoolVar(&cmd.old, "old", false, "only show out-of-date dependencies")

And:

old bool

So, dep status and dep status -old produce identical output.

Is it not implemented because this is a known TODO?

When you run dep status -detailed, you at least get a helpful error message:

$ dep status -detailed
not implemented

Doing nothing for -old is misleading because it's not immediately obvious from output that even non-old entries are being shown. So a short term solution is to fail with "not implemented" error message.

I could take this on.

@shurcooL thanks for a push. Status is getting the next development focus. We already have PR #613 with implementation of -old and other similar flags. We are still working out the details of all the status run modes.

We can add not implemented to the unimplemented flags, if that helps for now. @adamo57 you're welcome to send a PR for that :)

I see, if it's already being worked on, that sounds good. Thanks. I'd suggest adding a Resolves #1046. sentence to that PR description to make the association.