summaryrefslogtreecommitdiffstats
path: root/backend_common.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2016-07-14 21:41:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2016-07-14 21:42:28 -0400
commit023cf71e7b2fd0317a91982c3ddc470abd9c0d33 (patch)
treeabf4ed138fa44686ed06d2a7dc1c13b1f173259d /backend_common.h
parent6331dbed62229f772696579f9420a03073d9a205 (diff)
downloadselphy_print-023cf71e7b2fd0317a91982c3ddc470abd9c0d33.tar.gz
selphy_print-023cf71e7b2fd0317a91982c3ddc470abd9c0d33.tar.bz2
selphy_print-023cf71e7b2fd0317a91982c3ddc470abd9c0d33.zip
Common: Get rid of the -S, -V, -P, -T options.
They won't work until after we attach to the backend, but we need them before we attach. Rely on the environment variables instead.
Diffstat (limited to 'backend_common.h')
-rw-r--r--backend_common.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/backend_common.h b/backend_common.h
index b5d5173..928c32d 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -184,7 +184,7 @@ extern struct dyesub_backend BACKEND;
#define CUPS_BACKEND_RETRY_CURRENT 7 /* Retry immediately */
/* Argument processing */
-#define GETOPT_LIST_GLOBAL "d:DfGhP:S:T:V:"
+#define GETOPT_LIST_GLOBAL "d:DfGh"
#define GETOPT_PROCESS_GLOBAL \
case 'd': \
copies = atoi(optarg); \
@@ -200,18 +200,6 @@ extern struct dyesub_backend BACKEND;
exit(0); \
case 'h': \
print_help(argv[0], &BACKEND); \
- exit(0); \
- case 'P': \
- extra_pid = strtol(optarg, NULL, 16); \
- break; \
- case 'S': \
- use_serno = optarg; \
- break; \
- case 'T': \
- extra_type = atoi(optarg); \
- break; \
- case 'V': \
- extra_pid = strtol(optarg, NULL, 16); \
- break;
+ exit(0);
#endif /* __BACKEND_COMMON_H */