Skip to content

Commit 920cc9d

Browse files
author
George K. Thiruvathukal
committed
Fix problem where --show-filename wasn't showing output; resolves #23
1 parent 355eff6 commit 920cc9d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

zettelgeist/zfind.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ def main():
112112
print(row['document'])
113113
print()
114114

115+
# TODO eliminate this duplication later. document/filename are the only special fields
116+
if argsd.get("show_filename"):
117+
filename = row['filename']
118+
if len(filename) > 0:
119+
print(row['filename'])
120+
print()
121+
122+
115123
if args.count:
116124
print("%d Zettels matched search" % search_count)
117125

zettelgeist/zversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# ZettelGeist Version for Python
33
#
44

5-
__version__ = "1.0.19"
5+
__version__ = "1.0.20"
66

77
def version():
88
return __version__

0 commit comments

Comments
 (0)