Merge branch '11908-properties-column-json'
[arvados.git] / sdk / python / arvados / commands / put.py
index b357bc94b8441380fffae5d41a96fa95c6bf5600..ec4ae8fb6f971a8d19307a58311b2dec8eed70bc 100644 (file)
@@ -195,7 +195,7 @@ total data size).
 
 _group.add_argument('--silent', action='store_true',
                     help="""
-Do not produce any output unless an error happens.
+Do not print any debug messages to console. (Any error messages will still be displayed.)
 """)
 
 _group = run_opts.add_mutually_exclusive_group()
@@ -710,6 +710,7 @@ class ArvPutUploadJob(object):
             elif file_in_local_collection.permission_expired():
                 # Permission token expired, re-upload file. This will change whenever
                 # we have a API for refreshing tokens.
+                self.logger.warning("Uploaded file '{}' access token expired, will re-upload it from scratch".format(filename))
                 should_upload = True
                 self._local_collection.remove(filename)
             elif cached_file_data['size'] == file_in_local_collection.size():