Skip to content

Commit 8d95223

Browse files
committed
Print warning to stderr
1 parent 3dde94f commit 8d95223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxnotes/snippet/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def main(argv:List[str]=sys.argv[1:]) -> int:
101101

102102
# Load config from file
103103
if args.config == DEFAULT_CONFIG_FILE and not path.isfile(DEFAULT_CONFIG_FILE):
104-
print('the default configuration file does not exist, ignore it')
104+
print('the default configuration file does not exist, ignore it', file=sys.stderr))
105105
cfg = Config({})
106106
else:
107107
cfg = Config.load(args.config)

0 commit comments

Comments
 (0)