Simplify cli options
This commit is contained in:
parent
f1cb66b663
commit
6f55f735b0
@ -31,7 +31,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-t | --throughput)
|
-m | --measure)
|
||||||
measure_throughput=true
|
measure_throughput=true
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
@ -56,13 +56,13 @@ while [ $# -gt 0 ]; do
|
|||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--window_title)
|
-t | --title)
|
||||||
window_title="$2"
|
window_title="$2"
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-h | --help | *)
|
-h | --help | *)
|
||||||
echo "Usage: $0 [-p] [-s <source>] [-o <output>] [-f <format>] [--window_title <title>]"
|
echo "Usage: $0 [-p] [-s <source>] [-o <output>] [-f <format>] [-t <title>]"
|
||||||
echo "Examples:"
|
echo "Examples:"
|
||||||
echo " $0 # live view in landscape"
|
echo " $0 # live view in landscape"
|
||||||
echo " $0 -p # live view in portrait"
|
echo " $0 -p # live view in portrait"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user