summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gipfel.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 7cfd162..bb58586 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -253,6 +253,7 @@ void usage() {
" -d <datafile> Use <datafile> for GPS data.\n"
" -u <k0>,<k1> Use distortion correction values k0,k1.\n"
" -s Stitch mode.\n"
+ " -r <from>,<to> Stitch range in degrees (e.g. 100.0,200.0).\n"
" -b Use bilinear interpolation for stitching.\n"
" -w <width> Width of result image.\n"
" -h <height> Height of result image.\n"
@@ -393,7 +394,7 @@ int main(int argc, char** argv) {
err = 0;
- while ((c = getopt(argc, argv, ":?d:v:s:w:h:j:t:u:b")) != EOF) {
+ while ((c = getopt(argc, argv, ":?d:v:sw:h:j:t:u:br:")) != EOF) {
switch (c) {
case '?':
usage();
@@ -407,6 +408,9 @@ int main(int argc, char** argv) {
break;
case 's':
stitch_flag++;
+ break;
+ case 'r':
+ stitch_flag++;
if (optarg && strcmp(optarg, ":")) {
stitch_from = atof(optarg);
if (strchr(optarg, ',')) {