Hey Johan,
--sec-level seems more clear than --security to me, because it makes
explicit that the option is about "level". But is easy to change if you
want to.
Sheldon
On 11/11/2010 03:54 PM, Johan Hedberg wrote:
Hi Sheldon,
On Wed, Nov 10, 2010, Sheldon Demario wrote:
-- Add command line support to use medium instead of (default) low
- security level with gatttool (--sec-level)
-
- Priority: Low
- Complexity: C1
-
<snip>
+ { "sec-medium", 's', 0, G_OPTION_ARG_NONE,&opt_medium_sec,
+ "Use medium instead of default low security level",
+ NULL},
Maybe the TODO entry should have been more clear, but I'd prefer if the
option would be of the format "--sec-level<level>" where<level> is
"low", "medium" or "high". I'm not completely sure I like --sec-level
either (even though I did write the original TODO entry :) What do you
think about simply "--security<level>"?
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html