Arman Uguray | 065d0f7 | 2015-07-16 18:12:13 -0700 | [diff] [blame] | 1 | // |
Jakub Pawlowski | 5b790fe | 2017-09-18 09:00:20 -0700 | [diff] [blame] | 2 | // Copyright 2015 Google, Inc. |
Arman Uguray | 065d0f7 | 2015-07-16 18:12:13 -0700 | [diff] [blame] | 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at: |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | #pragma once |
| 18 | |
| 19 | #include <string> |
| 20 | |
| 21 | namespace bluetooth { |
| 22 | namespace switches { |
| 23 | |
| 24 | // List of command-line switches used by the daemon. |
| 25 | const char kHelpLong[] = "help"; |
| 26 | const char kHelpShort[] = "h"; |
Ian Coolidge | c6760d8 | 2015-07-30 20:51:47 -0700 | [diff] [blame] | 27 | const char kAndroidIPCSocketSuffix[] = "android-ipc-socket-suffix"; |
| 28 | const char kCreateIPCSocketPath[] = "create-ipc-socket"; |
Bailey Forrest | e8e6c6b | 2017-06-07 14:50:08 -0700 | [diff] [blame] | 29 | const char kEnableOnStart[] = "enable-on-start"; |
Arman Uguray | 065d0f7 | 2015-07-16 18:12:13 -0700 | [diff] [blame] | 30 | |
| 31 | const char kHelpMessage[] = |
| 32 | "\nBluetooth System Service\n" |
| 33 | "\n" |
| 34 | "Usage:\n" |
Arman Uguray | b2286f3 | 2015-08-05 21:19:02 -0700 | [diff] [blame] | 35 | "\t--help,-h\t\t\tShow this help message\n" |
Ian Coolidge | c6760d8 | 2015-07-30 20:51:47 -0700 | [diff] [blame] | 36 | "\t--android-ipc-socket-suffix\tSuffix of socket created by Android init. " |
| 37 | "Mutually exclusive with --create-ipc-socket.\n" |
Arman Uguray | b2286f3 | 2015-08-05 21:19:02 -0700 | [diff] [blame] | 38 | "\t--create-ipc-socket\t\tSocket path created for Unix domain socket based " |
Arman Uguray | 503baaa | 2015-08-20 11:49:00 -0700 | [diff] [blame] | 39 | "IPC. Mutually exclusive with --android-ipc-socket-suffix.\n" |
Bailey Forrest | e8e6c6b | 2017-06-07 14:50:08 -0700 | [diff] [blame] | 40 | "\t--enable-on-start (true|false)\tIf true, enable adapter as soon as the " |
| 41 | "daemon starts.\n" |
Arman Uguray | 503baaa | 2015-08-20 11:49:00 -0700 | [diff] [blame] | 42 | "\t--v\t\t\t\tLog verbosity level (e.g. -v=1)\n"; |
Arman Uguray | 065d0f7 | 2015-07-16 18:12:13 -0700 | [diff] [blame] | 43 | |
| 44 | } // namespace switches |
| 45 | } // namespace bluetooth |