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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.6.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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