Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3599

cli.c: Resuscitate "old-style" argument parsing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Patches adding functionality to the C client library often want to make these new capabilities available/explorable via the cli.c shell.

      Examples include ZOOKEEPER-1112 (SASL; the original patchset included a duplicated cli_sasl.c) and ZOOKEEPER-2122 (SSL; the current PR switches it to use getopt).

      This ticket is about adding /optional/ getopt support to cli.c without breaking existing uses, and would be a prerequisite for extensions which "require" new flags.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ztzg Damien Diederen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m