Skip to content

Conversation

kieranjol
Copy link

I'm almost certain that this is fairly wrong in a few ways, but maybe it'll get the ball rolling. Any edits/fixes are very welcome..

README.md Outdated

```
writelto
writelto -t $tape_serial /Volumes/$tape_serial
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would write the content of the lto tape onto the same lto tape. A better example would be:
writelto -t $tape_serial $any_other_place

@kieranjol
Copy link
Author

Lol I'm sorry, I'm going pretty blind here.looks like your PR would make this redundant as the docs would be correct of that was merged?

@privatezero
Copy link
Member

I think that even after that PR is merged, the docs still should be updated along the lines you are doing! I see that PR more as a check against data not being entered initially. People should probably know that they need to add both those values for a complete executable command.


```
writelto
writelto -t $tape_serial $source_directory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry to nitpick, but I think maybe writing inputs as variables in the docs might confuse some people who aren't familiar with $ denoting a user changeable variable?

I never am sure of the most intuitive way to denote user inputs in docs, but maybe TAPE_SERIAL and SOURCE_DIRECTORY, or possibly [Tape Serial] [Source Directory]? (Although when I have used the latter format I often find myself having to explain that the [ ] are not part of the command. I wonder if there is any common precedent across amiaos repos?

@kieranjol
Copy link
Author

I agree, maybe the all caps, with an example command to make it extra clear?

@privatezero
Copy link
Member

I think that makes sense!

Copy link
Member

@retokromer retokromer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it not be clearer to use two flags: one for the tape_serial and one for the source_directory?

@retokromer
Copy link
Member

ping

@retokromer
Copy link
Member

ping ping

@retokromer
Copy link
Member

Has this PR not been superseded by ed8ccab?

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.

4 participants