bug-hello
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hello world loop feature as diff


From: address@hidden
Subject: Hello world loop feature as diff
Date: Fri, 31 Jul 2009 07:14:36 -0700 (PDT)

I think the full attachment I sent earlier might have been a previous version 
so I am resubmitting it as a diff just in case:

4c4
<    2006, 2007, 2008 Free Software Foundation, Inc.
---
>    2006, 2007, 2008, 2009 Free Software Foundation, Inc.
31a32
>   { "loop", no_argument, NULL, 'l' },
48c49
<   int lose = 0;
---
>   int lose = 0, loop = 0;
69c70
<   while ((optc = getopt_long (argc, argv, "g:hntv", longopts, NULL)) != -1)
---
>   while ((optc = getopt_long (argc, argv, "g:hntvl", longopts, NULL)) != -1)
90a92,94
>       case 'l':
>       loop = 1;
>       break;
107a112,113
>   do
>     {
110d115
< 
123d127
< 
135c139
< 
---
>     } while(loop);
171c175,176
<   -g, --greeting=TEXT     use TEXT as the greeting message\n"), stdout);
---
>   -g, --greeting=TEXT     use TEXT as the greeting message\n\
>   -l, --loop              repeatedly display greeting message\n"), stdout);
202c207
<               "2008");
---
>               "2009");



      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]