URI:
       tAdd flags to change author and date format - scribo - Email-based phlog generator
  HTML git clone git://git.z3bra.org/scribo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit e96b2393492f00f4cb9143ac8eef814edd38e12c
   DIR parent 9d0eccfdc749b8243559903f6486188b4c8e4782
  HTML Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue,  8 Sep 2020 15:40:40 +0200
       
       Add flags to change author and date format
       
       Diffstat:
         M scribo.c                            |       8 +++++++-
       
       1 file changed, 7 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/scribo.c b/scribo.c
       t@@ -44,7 +44,7 @@ int writeindex(FILE *, char *);
        void
        usage(char *pgm)
        {
       -        fprintf(stderr, "usage: %s [-b basedir] [-io file]", pgm);
       +        fprintf(stderr, "usage: %s [-a author] [-b basedir] [-d fmt] [-io file]", pgm);
        }
        
        char *
       t@@ -248,9 +248,15 @@ main(int argc, char *argv[])
                outfile = NULL;
        
                ARGBEGIN {
       +        case 'a':
       +                author = EARGF(usage(argv0));
       +                break; /* NOTREACHED */
                case 'b':
                        basedir = EARGF(usage(argv0));
                        break; /* NOTREACHED */
       +        case 'd':
       +                datefmt = EARGF(usage(argv0));
       +                break; /* NOTREACHED */
                case 'i':
                        infile = EARGF(usage(argv0));
                        break; /* NOTREACHED */