diff --git a/src/fits2jpeg.c b/src/fits2jpeg.c
--- a/src/fits2jpeg.c
+++ b/src/fits2jpeg.c
/*-------------------- Parse command line inputs ------------------------*/
if (argc < 2) usage(); /* People who don't give any arguments need help */
- while ( ( opt = my_getopt ( argc, argv, "s:e:r:h" ) ) != EOF )
+ while ( ( opt = my_getopt ( argc, argv, "s:r:h" ) ) != EOF )
switch ( opt )
{
case 's':