diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:17:29 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:17:29 +0200 |
commit | 1e23f60da1176e353f6914ca41c2d0e431e9a197 (patch) | |
tree | fca40d753fd8ee523d85c31c9699acef523f5bf0 /tools/sdptool.c | |
parent | 10332e9f97359824502f8cce0d9ed3510e290159 (diff) |
Use const char for usage text
Diffstat (limited to 'tools/sdptool.c')
-rw-r--r-- | tools/sdptool.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c index 003d8875..db88bf3d 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -811,7 +811,7 @@ static struct option set_options[] = { { 0, 0, 0, 0 } }; -static char *set_help = +static const char *set_help = "Usage:\n" "\tget record_handle attrib_id attrib_value\n"; @@ -949,7 +949,7 @@ static struct option seq_options[] = { { 0, 0, 0, 0 } }; -static char *seq_help = +static const char *seq_help = "Usage:\n" "\tget record_handle attrib_id attrib_values\n"; @@ -3454,7 +3454,7 @@ static struct option add_options[] = { { 0, 0, 0, 0 } }; -static char *add_help = +static const char *add_help = "Usage:\n" "\tadd [--handle=RECORD_HANDLE --channel=CHANNEL] service\n"; @@ -3558,7 +3558,7 @@ static struct option del_options[] = { { 0, 0, 0, 0 } }; -static char *del_help = +static const char *del_help = "Usage:\n" "\tdel record_handle\n"; @@ -3699,7 +3699,7 @@ static struct option browse_options[] = { { 0, 0, 0, 0 } }; -static char *browse_help = +static const char *browse_help = "Usage:\n" "\tbrowse [--tree] [--raw] [--xml] [--uuid uuid] [--l2cap] [bdaddr]\n"; @@ -3765,7 +3765,7 @@ static struct option search_options[] = { { 0, 0, 0, 0} }; -static char *search_help = +static const char *search_help = "Usage:\n" "\tsearch [--bdaddr bdaddr] [--tree] [--raw] [--xml] SERVICE\n" "SERVICE is a name (string) or UUID (0x1002)\n"; @@ -3924,7 +3924,7 @@ static struct option records_options[] = { { 0, 0, 0, 0 } }; -static char *records_help = +static const char *records_help = "Usage:\n" "\trecords [--tree] [--raw] [--xml] bdaddr\n"; @@ -3992,7 +3992,7 @@ static struct option get_options[] = { { 0, 0, 0, 0 } }; -static char *get_help = +static const char *get_help = "Usage:\n" "\tget [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle\n"; |