~dricottone/my-utils

60d3e563aa74dfccab44c7647464d0059a001f24 — Dominic Ricottone 2 years ago 6f0bf4a
whichhead fix

The helptext incorrectly claimed that --number=N was supported.
1 files changed, 2 insertions(+), 2 deletions(-)

M core/whichhead
M core/whichhead => core/whichhead +2 -2
@@ 1,13 1,13 @@
#!/bin/bash

name="whichhead"
version="1.0"
version="1.1"
read -r -d '' help_message <<-EOF
	Print the first 10 lines from a program
	Usage: whichhead [PROGRAM ..] [OPTIONS]
	Options:
	 -h, --help        print this message
	 -n N, --number=N  print the first N lines (Default: 10)
	 -n N, --number N  print the first N lines (Default: 10)
	 -q, --quiet       suppress error messages
	 -v, --verbose     show additional messages
	 -V, --version     print version number and exit