Skip to content

Commit

Permalink
Moved Option closer to related options and trimmed release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeb authored and Davidy22 committed Jan 16, 2022
1 parent f8b5573 commit 0858d25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 60 deletions.
16 changes: 8 additions & 8 deletions guake/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ def main():
help=_("Toggles the visibility of the terminal window"),
)

parser.add_option(
"--is-visible",
dest="is_visible",
action="store_true",
default=False,
help=_("Return 1 if Guake is visible, 0 otherwise"),
)

parser.add_option(
"--show",
dest="show",
Expand Down Expand Up @@ -367,14 +375,6 @@ def main():
help=_("Show support information"),
)

parser.add_option(
"--is-visible",
dest="is_visible",
action="store_true",
default=False,
help=_("Return 1 if Guake is visible, 0 otherwise"),
)

# checking mandatory dependencies

missing_deps = False
Expand Down
52 changes: 0 additions & 52 deletions releasenotes/notes/feature_isvisible_option-6f15b5f7d3341e7e.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,5 @@
release_summary: >
Replace this text with content to appear at the top of the section for this
release.
All of the prelude content is merged together and then rendered
separately from the items listed in other parts of the file, so the text
needs to be worded so that both the prelude and the other items make sense
when read independently.
Do not use "list" syntax here

features:
- |
List new features here followed by the ticket number, for example::

- --is-visible option returns 1 when visible, and 0 when not #1926

known_issues:
- |
List know issue introduced by the change here, followed if possible by a
ticket number, for example::
- such other feature is broken #1234
upgrade:
- |
List upgrade note for end users here
deprecations:
- |
List deprecations notes heres, ie, feature that are being removed by the
change.
security:
- |
Add security notes here.
fixes:
- |
Add normal bug fixes here, followed by the ticket number, for example::
- broken feature has been fixed #1234
translations:
- Only put a list of updated 2 letters language code, for example::

translations:
- fr
- de

notes_for_package_maintainers:
- |
Add notes for package maintainers here.
other:
- |
Add other notes here.

0 comments on commit 0858d25

Please sign in to comment.