termux-api: Remove empty lines from -h output
[termux-packages] / packages / termux-api / termux-camera-info
CommitLineData
cc1ae02e 1#!/bin/sh
bea93fbd
FF
2set -e -u
3
4SCRIPTNAME=termux-camera-info
5show_usage () {
6 echo "Usage: $SCRIPTNAME"
7 echo "Get information about device camera(s)."
bea93fbd
FF
8 exit 0
9}
10
11while getopts :h option
12do
13 case "$option" in
14 h) show_usage;;
15 ?) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
16 esac
17done
18shift $(($OPTIND-1))
19
20if [ $# != 0 ]; then echo "$SCRIPTNAME: too many arguments"; exit 1; fi
59f0d218 21
cc1ae02e 22@TERMUX_API@ CameraInfo