Skip to content

Commit

Permalink
Expand docstring for collisions command
Browse files Browse the repository at this point in the history
The meaning of mods prefixed with 'x' or '*' was previously not
indicated anywhere. It is now indicated in the docstring of the
collisions command.
  • Loading branch information
cyberrumor committed Sep 27, 2024
1 parent ee92aa8 commit 15e9ed7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ activate : (mod|plugin) <index> : Enabled components will be loade
: : - `activate plugin 1`
: : - `activate plugin all`
................................................................................................
collisions : <index> : Show file conflicts for a mod.
collisions : <index> : Show file conflicts for a mod. Mods prefixed
: : with asterisks have file conflicts. Mods
: : prefixed with x install no files.
: : - `collisions 0`
................................................................................................
commit : : Apply pending changes.
Expand Down
3 changes: 2 additions & 1 deletion ammo/mod_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,8 @@ def refresh(self) -> None:

def collisions(self, index: int) -> None:
"""
Show file conflicts for a mod.
Show file conflicts for a mod. Mods prefixed with asterisks
have file conflicts. Mods prefixed with x install no files.
"""
try:
subject = self.mods[index]
Expand Down

0 comments on commit 15e9ed7

Please sign in to comment.