Subversion Repositories HelenOS

Rev

Rev 3364 | Rev 3376 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3364 Rev 3375
Line 46... Line 46...
46
#define CAT_VERSION "0.0.1"
46
#define CAT_VERSION "0.0.1"
47
#define CAT_DEFAULT_BUFLEN 1024
47
#define CAT_DEFAULT_BUFLEN 1024
48
 
48
 
49
static char *cat_oops = "That option is not yet supported\n";
49
static char *cat_oops = "That option is not yet supported\n";
50
 
50
 
51
static struct option long_options[] = {
51
static struct option const long_options[] = {
52
    { "help", no_argument, 0, 'h' },
52
    { "help", no_argument, 0, 'h' },
53
    { "version", no_argument, 0, 'v' },
53
    { "version", no_argument, 0, 'v' },
54
    { "head", required_argument, 0, 'H' },
54
    { "head", required_argument, 0, 'H' },
55
    { "tail", required_argument, 0, 't' },
55
    { "tail", required_argument, 0, 't' },
56
    { "buffer", required_argument, 0, 'b' },
56
    { "buffer", required_argument, 0, 'b' },