-
Notifications
You must be signed in to change notification settings - Fork 135
find-internet-password: illegal option -- w #186
Comments
Hm, it looks like OS X Lion doesn't support
Try to edit
(Substitute |
That led to a cycle of: Change ~/.gitconfig as per suggestion above $ ghi list
# Global, open issues assigned to you
Authorization required.
Not authorized for this action with your token. To regenerate a new token:
Please run 'ghi config --auth <username>' OK, I can do that $ ghi config --auth $MY_USERNAME
Enter $MY_USERNAME's GitHub password (never stored): ✔
A ghi token already exists!
Please revoke all previously-generated ghi personal access tokens here:
https://github.com/settings/applications Away to website and revoke permission in Github $ ghi config --auth $MY_USERNAME
Enter $MY_USERNAME's GitHub password (never stored): ✔
✔︎ Token saved to keychain. Try again $ ghi list
⠙find-internet-password: illegal option -- w
Usage: find-internet-password [-a account] [-s server] [options...] [-g] [keychain...]
-a Match "account" string
-c Match "creator" (four-character code)
-C Match "type" (four-character code)
-d Match "securityDomain" string
-D Match "kind" string
-j Match "comment" string
-l Match "label" string
-p Match "path" string
-P Match port number
-r Match "protocol" (four-character code)
-s Match "server" string
-t Match "authenticationType" (four-character code)
-g Display the password for the item found
If no keychains are specified to search, the default search list is used.
Find an internet password item.
#
Authorization required.
Please run 'ghi config --auth <username>' Change ~/.gitconfig as per suggestion above $ ghi list
# Global, open issues assigned to you
Authorization required.
Not authorized for this action with your token. To regenerate a new token:
Please run 'ghi config --auth <username>' And round we go again |
Closing this issue as it seems like it only affects an old version of OS X |
This issue also affects me on OS X Yosemite 10.10.5 - I don't know how old that is, but it's a lot newer than OS X 10.7, which I think is "Lion." Ruby is 2.0.0. ghi is latest; 1.0.4. Not the first issue, re
Then I run config, which says EDIT: |
OS X Yosemite is only one major version behind the latest so this is more of an issue if it affects that version. What command were you running @skorlir? |
I ran |
@skorlir are you using SourceTree by any chance? |
Nope. Just regular 'ol git. If you have trouble reproducing, and are willing to point me in the right direction, I'd be glad to take a stab at fixing this and making a PR. Thought I'd offer. 😄 |
Actually, that worked. I can't imagine how it's related to SourceTree, at least in this case, but it fixed it! Thanks! |
I have absolutely no idea either. It's very strange! Glad you got sorted though @skorlir :-) |
Running on OS X, 10.7.5, Ruby 1.8.7, ghi 0.9.3
I frequently see the error in the title, and would appreciate any hints as to how to deal with it. Example interaction follows:
The text was updated successfully, but these errors were encountered: