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

fix panic in cli arg parsing #2354

Merged
merged 1 commit into from
Feb 18, 2016
Merged

fix panic in cli arg parsing #2354

merged 1 commit into from
Feb 18, 2016

Conversation

whyrusleeping
Copy link
Member

fixes #1735

License: MIT
Signed-off-by: Jeromy [email protected]

@whyrusleeping
Copy link
Member Author

@noffle could I get you to CR this one?

License: MIT
Signed-off-by: Jeromy <[email protected]>
peer "gx/ipfs/QmUBogf4nUefBjmYjn6jfsfPJRkmDGSeMhNj4usRKq69f4/go-libp2p/p2p/peer"
u "gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: I know gophers love short var names, but u -> util would be nice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i opted for not making lots of changes to the codebase. we can do a codebase-wide change for that later

@hackergrrl
Copy link
Contributor

🐴 LGTM

This PR feels like a bandaid on top of some already fairly hard to follow code. It'd be nice if we could simplify the complex if structure, but this may be a better candidate for future technical debt repayment.

@whyrusleeping
Copy link
Member Author

bandaid on top of some already fairly hard to follow code

youre not wrong.

whyrusleeping added a commit that referenced this pull request Feb 18, 2016
@whyrusleeping whyrusleeping merged commit f8eefba into master Feb 18, 2016
@whyrusleeping whyrusleeping deleted the fix/stdin-arg-parse branch February 18, 2016 04:58
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

Successfully merging this pull request may close these issues.

gencmdref script ending in runtime error
2 participants