<commit_before>@routing @options
Feature: Command line options

    Background:
        Given the profile "testbot"

    Scenario: No options
        When I run "osrm-routed"
        Then it should exit with code 0
        And stderr should be empty
        And stdout should contain "osrm-routed <base.osrm> [<options>]:"
        And stdout should contain "Options:"
        And stdout should contain "Configuration:"

    Scenario: Help
        When I run "osrm-routed --help"
        Then it should exit with code 0
        And stderr should be empty
        And stdout should contain "osrm-routed <base.osrm> [<options>]:"
        And stdout should contain "Options:"
        And stdout should contain "--version"
        And stdout should contain "--help"
        And stdout should contain "--config"
        And stdout should contain "Configuration:"
        And stdout should contain "--hsgrdata arg"
        And stdout should contain "--nodesdata arg"
        And stdout should contain "--edgesdata arg"
        And stdout should contain "--ramindex arg"
        And stdout should contain "--fileindex arg"
        And stdout should contain "--namesdata arg"
        And stdout should contain "--timestamp arg"
        And stdout should contain "--ip"
        And stdout should contain "--port"
        And stdout should contain "--threads"
        And stdout should contain "--sharedmemory"

    Scenario: Non-existing option
        When I run "osrm-routed --fly-me-to-the-moon"
        Then it should exit with code 255
        Then stdout should be empty
        And stderr should contain "unrecognised option '--fly-me-to-the-moon'"<commit_msg>workaround for inconsistent error messages across boost versions<commit_after>@routing @options
Feature: Command line options

    Background:
        Given the profile "testbot"

    Scenario: No options
        When I run "osrm-routed"
        Then it should exit with code 0
        And stderr should be empty
        And stdout should contain "osrm-routed <base.osrm> [<options>]:"
        And stdout should contain "Options:"
        And stdout should contain "Configuration:"

    Scenario: Help
        When I run "osrm-routed --help"
        Then it should exit with code 0
        And stderr should be empty
        And stdout should contain "osrm-routed <base.osrm> [<options>]:"
        And stdout should contain "Options:"
        And stdout should contain "--version"
        And stdout should contain "--help"
        And stdout should contain "--config"
        And stdout should contain "Configuration:"
        And stdout should contain "--hsgrdata arg"
        And stdout should contain "--nodesdata arg"
        And stdout should contain "--edgesdata arg"
        And stdout should contain "--ramindex arg"
        And stdout should contain "--fileindex arg"
        And stdout should contain "--namesdata arg"
        And stdout should contain "--timestamp arg"
        And stdout should contain "--ip"
        And stdout should contain "--port"
        And stdout should contain "--threads"
        And stdout should contain "--sharedmemory"

    Scenario: Non-existing option
        When I run "osrm-routed --fly-me-to-the-moon"
        Then it should exit with code 255
        Then stdout should be empty
        And stderr should contain "fly-me-to-the-moon"
{'fraction_non_alphanumeric': 0.07662376533971865, 'fraction_numerical': 0.00299311583358276, 'mean_word_length': 2.302371541501976, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4801296', 'n_tokens_mistral': 876, 'n_tokens_neox': 842, 'n_words': 378}