Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Some usability enhancements#1

Open
lhope wants to merge 4 commits intobrown:masterfrom
lhope:master
Open

Some usability enhancements#1
lhope wants to merge 4 commits intobrown:masterfrom
lhope:master

Conversation

@lhope
Copy link

@lhope lhope commented Feb 29, 2012

  1. Added package nickname :gflags.
  2. Added allegro support to (command-line)
  3. Made define-flag return the flag symbol (mimicking defparameter)
  4. Made register-flag delete obsolete flags (for 5. below).
  5. Added generate-usage-string function which uses the flag names and
    help strings.

With a little more work this library will be better than other getopt libraries. Nice. :-)

1. Added package nickname :gflag.
2. Added allegro support to (command-line)
3. Made define-flag return the flag symbol (mimicking defparameter)
4. Made register-flag delete obsolete flags (for 5. below).
5. Added generate-usage-string function which uses the flag names and
   help strings.
@brown
Copy link
Owner

brown commented Feb 29, 2012

Thanks very much for sending me your modifications. I'll get to them
soon. I have to browse some git documentation to figure out how
best to handle merge requests.

bob

On Tue, Feb 28, 2012 at 9:10 PM, lhope
[email protected]
wrote:

  1. Added package nickname :gflags.
  2. Added allegro support to (command-line)
  3. Made define-flag return the flag symbol (mimicking defparameter)
  4. Made register-flag delete obsolete flags (for 5. below).
  5. Added generate-usage-string function which uses the flag names and
      help strings.

With a little more work this library will be better than other getopt libraries. Nice. :-)

You can merge this Pull Request by running:

 git pull https://github.com/lhope/lisp-gflags master

Or you can view, comment on it, or merge it online at:

 #1

-- Commit Summary --

  • Several small enhancements.
  • Meant to make the nickname :gflags, not :gflag.

-- File Changes --

M flag.lisp (22)
M package.lisp (2)

-- Patch Links --

 https://github.com/brown/lisp-gflags/pull/1.patch
 https://github.com/brown/lisp-gflags/pull/1.diff


Reply to this email directly or view it on GitHub:
#1

@lhope
Copy link
Author

lhope commented Mar 6, 2012

How's this going?

@photex
Copy link

photex commented Dec 27, 2013

I would like to +1 this pull request.

@brown
Copy link
Owner

brown commented Feb 2, 2014

I merged in several of lhope's changes, fixed some bugs, and
added many tests that exercise the error cases.

@vincentbernat
Copy link

What about the other propositions, like generate-usage-string?

@brown
Copy link
Owner

brown commented Apr 1, 2015

It might be OK to have the gflags code generate a usage
message or some data structure that can be easily walked
to create a nice message.

Bob

On Thu, Mar 19, 2015 at 4:55 PM, Vincent Bernat [email protected]
wrote:

What about the other propositions, like generate-usage-string?


Reply to this email directly or view it on GitHub
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants