~rkta/workinghours

a3040719bf8d5ff9ee7ebe9d18993b5168552220 — Rene Kita 1 year, 5 months ago 17c80ac v0.4
Add alias for -w
1 files changed, 2 insertions(+), 1 deletions(-)

M workinghours
M workinghours => workinghours +2 -1
@@ 30,6 30,7 @@ Mandatory arguments to long options are mandatory for short options too.
                              last week into archive directory
                              HOURS is the amount of hours your were supposed
                              to work
  -n                          alias for -w
  -h, --help                  show this help
Any option can be combined with --session option.
Furthermore, --new-week can be combined with --week-number option - which can be


@@ 60,7 61,7 @@ while :; do
			opt_init=y
			shift
			;;
		-w|--new-week)
		-[nw]|--new-week)
			week=y
			target=$2
			case ${target#[+-]} in