Eric Kow <[email protected]> writes: > On Sun, Jan 18, 2009 at 01:19:26 +1100, Trent W. Buck wrote: >> PS: I forgot to add FIXME: why do we use both print_version and >> putStrLn darcs_version? They emit slightly different output, >> which is why I didn't "fix" it in this refactor patch. > > Well, when you type 'darcs --version', you know exactly what you want. > When you just type 'darcs', you don't. > > Sounds like print_version is a bit of a misnomer. Something like > printCommandSummary?
The both print the version string; the only difference is that one of them prepends "darcs version " to the line. The command help output is done by the part after the >> IIRC. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
