diff options
author | typebrook <typebrook@gmail.com> | 2020-03-16 12:04:35 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-16 12:04:35 +0800 |
commit | c38dbe6717c4ccd60ec9b3207fc0f171f61de282 (patch) | |
tree | ca1ff415824fe9422dab49e0a8b500aaaa859310 | |
parent | 4d9493ba5231cea2fc37ba6e17e6473c792a8e7a (diff) |
Update output of 'gist user'
-rwxr-xr-x | gist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -352,8 +352,8 @@ _query_user() { | |||
352 | [[ -z $result ]] && echo "Failed to query $1's gists" && return 1 | 352 | [[ -z $result ]] && echo "Failed to query $1's gists" && return 1 |
353 | 353 | ||
354 | echo "$result" \ | 354 | echo "$result" \ |
355 | | while read -r index link blob_code file_num extra description; do | 355 | | while read -r index link blob_code file_num comment_num author _ _ description; do |
356 | echo "$link $file_num $extra $description" | cut -c -"$(tput cols)" | 356 | echo "$link $author $file_num $comment_num $description" | cut -c -"$(tput cols)" |
357 | done | 357 | done |
358 | } | 358 | } |
359 | 359 | ||