We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c987ac8 commit d646b06Copy full SHA for d646b06
tldr.py
@@ -744,9 +744,14 @@ def main() -> None:
744
).format(cmd=command))
745
else:
746
output(results[0][0], display_option_length, plain=options.markdown)
747
+
748
+ if results[0][1] != get_platform() and results[0][1] != "common" and not options.platform:
749
+ print(f"warning: showing page from platform '{results[0][1]}', because '{command}' does not exist in '{get_platform()}' and 'common'.")
750
751
if results[1:]:
752
platforms_str = [result[1] for result in results[1:]]
753
are_multiple_platforms = len(platforms_str) > 1
754
755
if are_multiple_platforms:
756
print(
757
f"Found {len(platforms_str)} pages with the same name"
0 commit comments