diff options
author | Songyu Lu <songyulu@hdfgroup.org> | 2021-04-08 02:29:19 (GMT) |
---|---|---|
committer | Songyu Lu <songyulu@hdfgroup.org> | 2021-04-08 02:29:19 (GMT) |
commit | 64458a8ddba8c6c58f2d38b7f0a602c34427f46b (patch) | |
tree | 168f454dcf6a88a882f20056ef54656a76272386 /test | |
parent | 14b1a821b7b12901a91c1b73ff70f6297a0dacd6 (diff) | |
download | hdf5-64458a8ddba8c6c58f2d38b7f0a602c34427f46b.zip hdf5-64458a8ddba8c6c58f2d38b7f0a602c34427f46b.tar.gz hdf5-64458a8ddba8c6c58f2d38b7f0a602c34427f46b.tar.bz2 |
Changed the command-line option for disabling named pipes from -p to -N, to be consistent with other tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/vfd_swmr_group_writer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/vfd_swmr_group_writer.c b/test/vfd_swmr_group_writer.c index cc0f593..33f0f7f 100644 --- a/test/vfd_swmr_group_writer.c +++ b/test/vfd_swmr_group_writer.c @@ -50,14 +50,14 @@ static void usage(const char *progname) { fprintf(stderr, "usage: %s [-S] [-a steps] [-b] [-c]\n" - " [-n iterations] [-p] [-q] [-u numb_ticks]\n" + " [-n iterations] [-N] [-q] [-u numb_ticks]\n" "\n" "-S: do not use VFD SWMR\n" "-a steps: `steps` between adding attributes\n" "-b: write data in big-endian byte order\n" "-c steps: `steps` between communication between the writer and reader\n" "-n ngroups: the number of groups\n" - "-p: do not use named pipes, mainly for running the writer and reader seperately\n" + "-N: do not use named pipes, mainly for running the writer and reader seperately\n" "-u numb_tcks: `numb_ticks` for the reader to wait before verification\n" "-q: silence printouts, few messages\n" "\n", @@ -87,7 +87,7 @@ state_init(state_t *s, int argc, char **argv) if (tfile) HDfree(tfile); - while ((ch = getopt(argc, argv, "Sa:bc:n:pqu:")) != -1) { + while ((ch = getopt(argc, argv, "Sa:bc:n:Nqu:")) != -1) { switch (ch) { case 'S': s->use_vfd_swmr = false; @@ -124,7 +124,7 @@ state_init(state_t *s, int argc, char **argv) case 'b': s->filetype = H5T_STD_U32BE; break; - case 'p': + case 'N': s->use_named_pipes = false; break; case 'q': |