Skip to content

Commit fcfcb56

Browse files
committed
Revert "Use default help formatter"
This reverts commit 00e1376. I thought this was unnecessary, but it is needed for --version
1 parent c9819bd commit fcfcb56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nancy/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,8 @@ async def real_main(argv: list[str] = sys.argv[1:]) -> None:
716716
# Read and process arguments
717717
parser = argparse.ArgumentParser(
718718
description="A simple templating system.",
719-
epilog=f"The INPUT-PATH is a '{os.path.pathsep}'-separated list; the inputs are merged "
719+
formatter_class=argparse.RawDescriptionHelpFormatter,
720+
epilog=f"The INPUT-PATH is a '{os.path.pathsep}'-separated list; the inputs are merged\n"
720721
+ "in left-to-right order.",
721722
)
722723
parser.add_argument(

0 commit comments

Comments
 (0)