@@ -32,6 +32,11 @@ def main(
3232 settings .animate ,
3333 help = "Animate the simulation and output as an mp4 video" ,
3434 ),
35+ n : int = typer .Option (
36+ settings .n ,
37+ "-n" ,
38+ help = "Number of commits to display from each branch head" ,
39+ ),
3540 auto_open : bool = typer .Option (
3641 settings .auto_open ,
3742 "--auto-open" ,
@@ -116,9 +121,21 @@ def main(
116121 "--quiet" ,
117122 "-q" ,
118123 help = "Suppress all output except errors" ,
124+ invert_branches : bool = typer .Option (
125+ settings .invert_branches ,
126+ help = "Invert positioning of branches by reversing order of multiple parents where applicable" ,
127+ ),
128+ hide_merged_branches : bool = typer .Option (
129+ settings .hide_merged_branches ,
130+ help = "Hide commits from merged branches, i.e. only display mainline commits" ,
131+ ),
132+ all : bool = typer .Option (
133+ settings .all ,
134+ help = "Display all local branches in the log output" ,
119135 ),
120136):
121137 settings .animate = animate
138+ settings .n = n
122139 settings .auto_open = auto_open
123140 settings .img_format = img_format
124141 settings .light_mode = light_mode
@@ -138,6 +155,9 @@ def main(
138155 settings .stdout = stdout
139156 settings .output_only_path = output_only_path
140157 settings .quiet = quiet
158+ settings .invert_branches = invert_branches
159+ settings .hide_merged_branches = hide_merged_branches
160+ settings .all = all
141161
142162 if sys .platform == "linux" or sys .platform == "darwin" :
143163 repo_name = git .repo .Repo (
0 commit comments