minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.87k stars 549 forks source link

api: Document behaviour and change console message for `mc <command>` without alias. #1682

Closed hackintoshrao closed 8 years ago

hackintoshrao commented 8 years ago

The following screenshot depicts the issue.

screen shot 2016-04-13 at 10 06 33 am

mc mb my-bucket when executed repeatedly succeeds. @sreeram-boyapati @harshavardhana

sreeram-dev commented 8 years ago

@hackintoshrao got a better idea of the issue now, will take this up. :)

hackintoshrao commented 8 years ago

@sreeram-boyapati : Please build from current master and verify this.

harshavardhana commented 8 years ago

@sreeram-boyapati : Please build from current master and verify this.

This is current behavior, what is wrong in this? 'mc mb' creates a local directory.

harshavardhana commented 8 years ago

The following screenshot depicts the issue.

mc mb my-bucket when executed repeatedly succeeds. @sreeram-boyapati @harshavardhana

alias mkdir='mc mb'
hackintoshrao commented 8 years ago

mc mb without alias creates local directory?? Is that documented somewhere ?

harshavardhana commented 8 years ago

mc mb without alias creates local directory?? Is that documented somewhere ?

It happens for all commands :-)

hackintoshrao commented 8 years ago

Sure :) May be this has to be documented in README.md .

hackintoshrao commented 8 years ago

Also may be the message has to be changed from Bucket created successfully to something else.

harshavardhana commented 8 years ago

Also may be the message has to be changed from Bucket created successfully to something else.

👍

Sure :) May be this has to be documented in README.md .

Please go ahead. 👍

harshavardhana commented 8 years ago

Fix the console printing in another bug. 'mc mb' is sufficiently documented.

NAME:
   mc mb - Make a bucket or folder.
EXAMPLES:
   1. Create a bucket on Amazon S3 cloud storage.
      $ mc mb s3/mynewbucket

   2. Create a new bucket on Google Cloud Storage.
      $ mc mb gcs/miniocloud

   4. Create a new bucket on Amazon S3 cloud storage in region ‘us-west-2’.
      $ mc mb --region=us-west-2 s3/myregionbucket

   5. Create a new directory including its missing parents (equivalent to ‘mkdir -p’).
      $ mc mb /tmp/this/new/dir1
lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.