Remove R from getopt that isn't being used for anything yet.
authorDavid Griffith <dave@661.org>
Fri, 30 Aug 2019 22:48:26 +0000 (15:48 -0700)
committerDavid Griffith <dave@661.org>
Fri, 30 Aug 2019 22:48:26 +0000 (15:48 -0700)
I just noticed that the -R flag for restricting where sfrotz is allowed
to read and write is not implemented.  This feature isn't quite as useful
for the SDL interface as it is for the curses and dumb interfaces, so
I'll give this a 2.46 milestone.  If anyone reading this issue feels like
implementing this now, that's great and I'll merge it when you're done.

src/sdl/sf_util.c

index bae4a91a278c20191f23d69c29711d3e638591a1..7c9db4da39741ac94151570716276c94534e8eab 100644 (file)
@@ -187,7 +187,7 @@ extern char *optarg;
 extern int optind;
 extern int m_timerinterval;
 
-static char *options = "@:%aAb:B:c:f:Fh:iI:l:L:m:N:oOPqr:Rs:S:tTu:vVw:xZ:";
+static char *options = "@:%aAb:B:c:f:Fh:iI:l:L:m:N:oOPqr:s:S:tTu:vVw:xZ:";
 
 static int limit( int v, int m, int M)
   {