<commit_before>## TODO

*   Refactory
*   Add a bash auto-complete tool [#2](https://github.com/TylerTemp/docpie/issues/2)
*   Document needs a better organization

## 0.3.6

*   [fix] [#6](https://github.com/TylerTemp/docpie/issues/6):

    for `[a | [b | c] | d]`, docpie could not expand nested `|`. Now it will
    be expanded as

        a
        b
        c
        d

## 0.3.5

*   [fix] [#5](https://github.com/TylerTemp/docpie/issues/5):

    for `this | or | that`, docpie will expand

        Usage: (--a=<va> | --b=<vb>) --c=<vc>

    as
        Usage:
            --a=<va> --c=<vc>
            --b=<vv> --c=<vc>

    which two c-s are the same object. if `--c` is matched in first situation but
    `--a=<va> --c=<vc>` as a whole fails, `--c` should drop its value.

    TODO: use a deep-copy when expand `|`

## 0.3.4

*   [new] BASH tab-completion auto-generate script

## 0.3.3

*   [fix] a logging is not use `docpie` logger
*   [fix] sometimes it does not print information when sys.argv is not correct

## 0.3.2

*   [fix] options section titles were not set appropriate when options sections's
    title was not started with `Options:`

    ```python
    """
    Usage: prog [options]<commit_msg>fix log<commit_after>## TODO

*   Refactory
*   Add a bash auto-complete tool [#2](https://github.com/TylerTemp/docpie/issues/2)
*   Document needs a better organization

## 0.3.6

*   [fix] [#6](https://github.com/TylerTemp/docpie/issues/6):

    for `[a | [b | c] | d]`, docpie could not expand nested `|`. Now it will
    be expanded as

        a
        b
        c
        d

## 0.3.5

*   [fix] [#5](https://github.com/TylerTemp/docpie/issues/5):

    for `this | or | that`, docpie will expand

        Usage: (--a=<va> | --b=<vb>) --c=<vc>

    as

        Usage:
            --a=<va> --c=<vc>
            --b=<vv> --c=<vc>

    which two c-s are the same object. if `--c` is matched in first situation but
    `--a=<va> --c=<vc>` as a whole fails, `--c` should drop its value.

    TODO: use a deep-copy when expand `|`

## 0.3.4

*   [new] BASH tab-completion auto-generate script

## 0.3.3

*   [fix] a logging is not use `docpie` logger
*   [fix] sometimes it does not print information when sys.argv is not correct

## 0.3.2

*   [fix] options section titles were not set appropriate when options sections's
    title was not started with `Options:`

    ```python
    """
    Usage: prog [options]
{'fraction_non_alphanumeric': 0.15973651708522024, 'fraction_numerical': 0.01729106628242075, 'mean_word_length': 2.2270916334661353, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 6, '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': '1716465', 'n_tokens_mistral': 904, 'n_tokens_neox': 856, 'n_words': 276}