Misc: compton-trans: Allow reading opacity from positional arguments

- compton-trans: Allow reading opacity value from positional arguments,
  like the version in master branch.

- compton-trans: Quit when meeting an unrecognized option.
This commit is contained in:
Richard Grenville
2012-11-14 18:04:55 +08:00
parent ce7f686f9e
commit fd9c9ba38d
2 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@ compton\-trans \- an opacity setter tool
.SH SYNOPSIS
.nf
.B compton-trans [-wncs] [window] -o [opacity]
.B compton-trans [-w WINDOW_ID] [-n WINDOW_NAME] [-c] [-s] OPACITY
.fi
.SH DESCRIPTION