Skip to content

Add text 'No answers for this question ...' to avoid simple exit#47

Merged
gautamkrishnar merged 1 commit intogautamkrishnar:masterfrom
arount:no-answers-text
Apr 21, 2017
Merged

Add text 'No answers for this question ...' to avoid simple exit#47
gautamkrishnar merged 1 commit intogautamkrishnar:masterfrom
arount:no-answers-text

Conversation

@arount
Copy link
Contributor

@arount arount commented Apr 20, 2017

When using socli -iq and selecting an unanswered question socli just quit without any messages.

This make several issues:

  • You can not read unanswered question
  • Socli will just exit if you select an empty question (disturbing, especially in interactive mode)
  • It looks like a big bug, but it's not.

I just added a pseudo-answer in answers list if this one is empty. Like that when selecting an empty question in interactive mode I'm able to read the question and just have a message 'No answers for this question...' which is explicit.

@arount arount changed the title Add text 'No answers for this question ...' to avoid simple exist Add text 'No answers for this question ...' to avoid simple exit Apr 20, 2017
@gautamkrishnar gautamkrishnar merged commit 235a19d into gautamkrishnar:master Apr 21, 2017
@gautamkrishnar
Copy link
Owner

😃 Thanks a lot for your first contribution... You rocks!

@arount
Copy link
Contributor Author

arount commented Apr 21, 2017

\o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants