Skip to content

Commit

Permalink
gatttool: Use consistent spacing before brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored and Vudentz committed Feb 14, 2023
1 parent 5d63ee2 commit 89f5358
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions attrib/gatttool.c
Expand Up @@ -456,17 +456,17 @@ static gboolean parse_uuid(const char *key, const char *value,

static GOptionEntry primary_char_options[] = {
{ "start", 's' , 0, G_OPTION_ARG_INT, &opt_start,
"Starting handle(optional)", "0x0001" },
"Starting handle (optional)", "0x0001" },
{ "end", 'e' , 0, G_OPTION_ARG_INT, &opt_end,
"Ending handle(optional)", "0xffff" },
"Ending handle (optional)", "0xffff" },
{ "uuid", 'u', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK,
parse_uuid, "UUID16 or UUID128(optional)", "0x1801"},
parse_uuid, "UUID16 or UUID128 (optional)", "0x1801"},
{ NULL },
};

static GOptionEntry char_rw_options[] = {
{ "handle", 'a' , 0, G_OPTION_ARG_INT, &opt_handle,
"Read/Write characteristic by handle(required)", "0x0001" },
"Read/Write characteristic by handle (required)", "0x0001" },
{ "value", 'n' , 0, G_OPTION_ARG_STRING, &opt_value,
"Write characteristic value (required for write operation)",
"0x0001" },
Expand Down

0 comments on commit 89f5358

Please sign in to comment.