Skip to content

Commit ac49efd

Browse files
authored
Merge pull request #197 from fosslight/remove
chore(simple_mode): hide simple mode from help message and CLI option
2 parents 36046e3 + cb424fe commit ac49efd

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

β€Žsrc/fosslight_binary/_help.pyβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
3333
πŸ” Scanner-Specific Options
3434
────────────────────────────────────────────────────────────────────
35-
-s Extract only the binary list in simple mode
3635
-d <db_url> DB Connection (format: 'postgresql://user:pass@host:port/db')
3736
--notice Print the open source license notice text
3837
--no_correction Skip OSS information correction with sbom-info.yaml
@@ -49,9 +48,6 @@
4948
# Generate output in specific format
5049
fosslight_binary -f excel -o results/
5150
52-
# Simple mode (extract binary list only)
53-
fosslight_binary -s -o binary_list.txt
54-
5551
# Connect to Binary DB for OSS information
5652
fosslight_binary -d "postgresql://user:pass@localhost:5432/exampledb"
5753
"""

β€Žsrc/fosslight_binary/cli.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def main():
4343
parser = argparse.ArgumentParser(add_help=False)
4444
parser.add_argument('-h', '--help', action='store_true', required=False)
4545
parser.add_argument('-v', '--version', action='store_true', required=False)
46-
parser.add_argument('-s', '--simple', action='store_true', required=False)
46+
parser.add_argument('-s', '--simple', action='store_true', required=False, help=argparse.SUPPRESS)
4747
parser.add_argument('-p', '--path', type=str, required=False)
4848
parser.add_argument('-o', '--output', type=str, required=False)
4949
parser.add_argument('-d', '--dburl', type=str, default='', required=False)

0 commit comments

Comments
Β (0)