This would benifit darcs, as the help-text would be correct even if I've renamed the executable. For example darcs-beta vs. darcs.
On Aug 23, 2010 3:49 PM, "Joachim Breitner" <[email protected]> wrote: > Hi, > > Am Montag, den 23.08.2010, 13:43 -0700 schrieb Jason Dagit: >> On Mon, Aug 23, 2010 at 1:32 PM, Joachim Breitner >> <[email protected]> wrote: >> >> $ ipatch split --help >> Usage: darcs split [OPTION]... <PATCHFILE> >> >> >> Darcs? >> >> >> >> $ ./dist/build/ipatch/ipatch apply --help >> Usage: darcs apply [OPTION]... <PATCHFILE> >> >> >> Darcs? >> >> >> I assume those are typos left over from borrowing code? > > actually I’m not borrowing the code, I’m using the Darcs API, including > the Help and Command infrastructure, which is not fully generalized yet. > I need to have a look at the Darcs code and think of the best way of > making it more configurable, without changing it too much or making it > harder for Darcs itself. > > The function in question is getCommandHelpCore in Darcs.Commands. Maybe > the name of the executable could be placed in the 'Command' record, then > it would be available everywhere where needed. If someone from the Darcs > team wants to help here, that would of course be appreciated. > > Greetings, > Joachim > > -- > Joachim "nomeata" Breitner > mail: [email protected] | ICQ# 74513189 | GPG-Key: 4743206C > JID: [email protected] | http://www.joachim-breitner.de/ > Debian Developer: [email protected]
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
