Skip to content

Shorthand command line options#66

Closed
hackerb9 wants to merge 3 commits intoastrand:masterfrom
hackerb9:shorthandopts
Closed

Shorthand command line options#66
hackerb9 wants to merge 3 commits intoastrand:masterfrom
hackerb9:shorthandopts

Conversation

@hackerb9
Copy link
Copy Markdown
Collaborator

Add convenience options -T (list targets) and -c (use clipboard)

  • -T is equivalent to "-o -t TARGETS".
  • -c is equivalent to "-selection clipboard"

As a bonus, -b is a synonym for -c to be more friendly to people who are used to using xsel.

Fix up man page, avoid using stdin if it's a tty, add convenience
options (-T, -c), and change man page & help message to suggest github
instead of e-mailing Åstrand.
-T is exactly equivalent to "-o -t TARGETS".
-c is equivalent to "-selection clipboard"

As a bonus, -b is a synonym for -c to be more friendly to people who
are used to using `xsel`.
As requested by Åstrand for merge.
@hackerb9
Copy link
Copy Markdown
Collaborator Author

hackerb9 commented Nov 6, 2020

This merge is subsumed by #88.

@hackerb9 hackerb9 closed this Nov 6, 2020
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.

1 participant