home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,886 of 243,242   
   Keith Thompson to Michael Sanders   
   Re: Usage/Help Screen Conventions   
   10 Nov 25 16:58:46   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Michael Sanders  writes:   
   > On Fri, 07 Nov 2025 15:24:25 -0800, Keith Thompson wrote:   
   [...]   
   >> Something else you might consider is how you handle the different   
   >> modes.  If I understand correctly (and I'm not at all sure I do),   
   >> "-q", "-t", "-r", and "-m" are distinct modes, and you have   
   >> to specify exactly one.  If that's the case, you might consider   
   >> making them subcommands, similar to the way "git" has "git commit",   
   >> "git log", et al.   
   >>   
   >>     tinybase query ...   
   >>     tinybase tag ...   
   >>     tinybase repl ...   
   >>     tinybase manual ...   
   >>   
   >> If you like, you can allow the subcommand name to be abbreviated.   
   >   
   > Sure enough. I've seen apps sym-linked to their 'mode names' before.   
   > Its good idea like '[' for test... (that one messed with me for a   
   > while since requires a closing ']' for chirality [i])   
      
   Particularly in this case, I probably wouldn't make the subcommands   
   available as standalone commands.  "tinybase query" presumably makes   
   sense to users, but just "query" is too vague.  Even more so for   
   "manual".  And you would introduce a lot of opportunities for collisions   
   with existing commands.   
      
   [...]   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca