aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-08-11 14:52:54 +0200
committerThomas White <taw@physics.org>2022-06-02 12:15:38 +0200
commit6f11f88810d1d74fbee12fc410e4634cac588f6e (patch)
treede294acc36c3e4fb3dc1e8df9a415113d71c6cd6 /src/indexamajig.c
parentb4c09272d2754a2add12153685549260885f7ca7 (diff)
indexamajig: Special cases for ASAP::O as for ZMQ
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index ee23fcc3..52e83c57 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -1086,7 +1086,9 @@ int main(int argc, char *argv[])
if ( argp_parse(&argp, argc, argv, 0, NULL, &args) ) return 1;
/* Check for minimal information */
- if ( (args.filename == NULL) && (args.zmq_addr == NULL) ) {
+ if ( (args.filename == NULL)
+ && (args.zmq_addr == NULL)
+ && (args.asapo_endpoint == NULL) ) {
ERROR("You need to provide the input filename (use -i)\n");
return 1;
}