Skip to content

Commit 2fa4d2c

Browse files
authored
Merge pull request #169 from fosslight/format
Update supported format
2 parents 32b3a98 + c3029c7 commit 2fa4d2c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/fosslight_binary/_help.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# Copyright (c) 2020 LG Electronics Inc.
44
# SPDX-License-Identifier: Apache-2.0
55
from fosslight_util.help import PrintHelpMsg
6+
from fosslight_util.output_format import SUPPORT_FORMAT
67

7-
_HELP_MESSAGE_BINARY = """
8+
_HELP_MESSAGE_BINARY = f"""
89
Usage: fosslight_bin [option1] <arg1> [option2] <arg2>...
910
1011
After extracting the binaries, the open source and license information of the saved binaries are retrieved by comparing the similarity
@@ -20,7 +21,8 @@
2021
Example) fosslight_bin -e "test/abc.py" "*.jar"
2122
-o <output_path>\t\t Output path
2223
\t\t\t\t (If you want to generate the specific file name, add the output path with file name.)
23-
-f <format> [<format> ...]\t Output file formats (excel, csv, opossum, yaml)
24+
-f <format> [<format> ...]\t Output file formats
25+
\t\t\t\t ({', '.join(SUPPORT_FORMAT)})
2426
\t\t\t\t Multiple formats can be specified separated by space.
2527
-d <db_url>\t\t\t DB Connection(format :'postgresql://username:password@host:port/database_name')
2628
--notice\t\t\t Print the open source license notice text.

0 commit comments

Comments
 (0)