Skip to content

Commit

Permalink
extra information in printusage()
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinJami committed Oct 4, 2016
1 parent 95ea2fe commit 70caa32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file modified keychaineditor.deb
Binary file not shown.
Binary file modified keychaineditor/usr/local/bin/keychaineditor
Binary file not shown.
7 changes: 6 additions & 1 deletion src/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ func printUsage() {
print("NOTES:")
print(" * Account and Service names are used to uniquely identify a item. An optional AccessGroup can also be passed to identify the item.")
print(" * If there is no Account name pass an empty string.")
print(" * Search is from the following group {Account, Service, AccessGroup, Protection}")
print(" * Search is from the following group {Account, Service, AccessGroup, Protection} and is case in-sensitive.")
print("EXAMPLES:")
print(" * To Dump entire keychain: $ keychaineditor")
print(" * Limit dump by searching: $ keychaineditor -f 'test'")
print(" * Edit a keychain item: $ keychaineditor -e --account 'TestAccount' --service 'TestService' --data 'TestData'")
print(" * Delete a keychain item: $ keychaineditor -d --account 'TestAccount' --service 'TestService'")
exit(EXIT_FAILURE)
}

Expand Down

0 comments on commit 70caa32

Please sign in to comment.