Finish cleaning up places where dash switches were replaced with
the use of positional command line arguments.

Coverity: 126106

Fixes: aad8b7daebca ("nsdbparams: Use positional parameters . . .")
Signed-off-by: Chuck Lever <[email protected]>
---
 src/nsdbparams/update.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/nsdbparams/update.c b/src/nsdbparams/update.c
index 2d1526d..0c3ec7c 100644
--- a/src/nsdbparams/update.c
+++ b/src/nsdbparams/update.c
@@ -57,7 +57,6 @@ static const struct option nsdbparams_update_longopts[] = {
        { "gid", 1, NULL, 'g', },
        { "help", 0, NULL, '?', },
        { "nce", 1, NULL, 'e', },
-       { "nsdbname", 1, NULL, 'l', },
        { "nsdbport", 1, NULL, 'r', },
        { "referral", 1, NULL, 'R', },
        { "sectype", 1, NULL, 't', },
@@ -311,9 +310,6 @@ nsdbparams_update(const char *progname, int argc, char 
**argv)
                case '?':
                        nsdbparams_update_usage(progname);
                        goto out;
-               case 'l':
-                       nsdbname = optarg;
-                       break;
                case 'r':
                        if (!nsdb_parse_port_string(optarg, &nsdbport)) {
                                xlog(L_ERROR, "Bad port number: %s",


_______________________________________________
fedfs-utils-devel mailing list
[email protected]
https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel

Reply via email to