summaryrefslogtreecommitdiff
path: root/utils/storeread.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-10-26 20:01:19 +0000
committerRoland McGrath <roland@gnu.org>2003-10-26 20:01:19 +0000
commit2195f36ff2e1f9e2a5ca5dd42ac5da0ddfb48c9d (patch)
tree8e3fa328fe8db031436dcebb98b2534a897efeef /utils/storeread.c
parent3e51b886caf1938f71a91e806145f76e33b0f25e (diff)
2003-10-26 Roland McGrath <roland@frob.com>
* storeread.c (doc, arg_doc): Make arrays, not pointers; make const. (doc): Add leading short description line before \v.
Diffstat (limited to 'utils/storeread.c')
-rw-r--r--utils/storeread.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/storeread.c b/utils/storeread.c
index e672d984..12f7b932 100644
--- a/utils/storeread.c
+++ b/utils/storeread.c
@@ -1,6 +1,6 @@
/* Write portions of a store to stdout
- Copyright (C) 1996,97,99,2001,02 Free Software Foundation, Inc.
+ Copyright (C) 1996,97,99,2001,02,03 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
@@ -35,8 +35,10 @@ struct argp_option options[] = {
{"block-size", 'b', "BYTES", 0, "Set the file block size"},
{0, 0}
};
-char *arg_doc = "FILE [ADDR [LENGTH]]...";
-char *doc = "\vADDR is in blocks, and defaults to 0; LENGTH is in bytes, and defaults to the remainder of FILE.";
+const char arg_doc[] = "FILE [ADDR [LENGTH]]...";
+const char doc[] = "Write portions of the contents of a store to stdout"
+"\vADDR is in blocks, and defaults to 0;"
+" LENGTH is in bytes, and defaults to the remainder of FILE.";
int
main (int argc, char **argv)